---
title: "Update project"
method: PATCH
path: "/api/v1/projects/{domain}"
tags: ["Account"]
---

# Update project

`PATCH /api/v1/projects/{domain}`

## Request

- Base URL: `https://api.openrevenue.com`
- URL: `https://api.openrevenue.com/api/v1/projects/{domain}`
- Auth: HTTP bearer

Requires a write-scoped API key. Only the project owner can update name, timeZone, or publicStatsEnabled.

## Path parameters

- `domain` string, required

## Request body

- object
  - `name` string
  - `timeZone` string
  - `publicStatsEnabled` boolean

## Response `200`

Updated project

- object
  - `id` string
  - `name` string
  - `domain` string
  - `timeZone` string
  - `publicStatsEnabled` boolean
  - `installationSeenAt` string, date-time, nullable

## Other responses

- `400`: Validation error
- `401`: Unauthorized
- `403`: API key is read-only
- `404`: Not found (or not owner)
- `429`: Too many requests

---

[API](https://skmtc.dev/openrevenue/apis/openrevenue-api.md) · [All operations](https://skmtc.dev/openrevenue/apis/openrevenue-api/llms.txt) · [OpenAPI document](https://skmtc.dev/openrevenue/apis/openrevenue-api/revisions/9ac7baa8b16e?raw)
