---
title: "Update Project"
method: PATCH
path: "/projects/{id}"
tags: ["Projects"]
---

# Update Project

`PATCH /projects/{id}`

## Request

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

Send the ETag from the latest GET in `If-Match`. Requires `projects:write`.

## Path parameters

- `id` integer, required

## Headers

- `Idempotency-Key` string, required
- `If-Match` string, required

## Request body

- ProjectWrite
  - `client_id` integer, nullable, required
  - `name` string, nullable, required
  - `code` string, nullable, required
  - `starts_on` string, date, nullable
  - `ends_on` string, date, nullable
  - `notes` string, nullable
  - `currency` string, nullable, required
  - `billing_model` string, nullable, required
  - `budget_scope` string, nullable
  - `budget_hours` number, nullable
  - `budget_fee` integer, nullable
  - `bill_rate_source` string, nullable
  - `bill_rate` integer, nullable

## Response `200`

The updated resource.

- ProjectResponse
  - `data` Project, required
    - `id` integer, nullable
    - `client_id` integer, nullable
    - `name` string, nullable
    - `code` string, nullable
    - `starts_on` string, date, nullable
    - `ends_on` string, date, nullable
    - `notes` string, nullable
    - `currency` string, nullable
    - `billing_model` string, nullable
    - `budget_scope` string, nullable
    - `budget_hours` number, nullable
    - `budget_fee` integer, nullable
    - `bill_rate_source` string, nullable
    - `bill_rate` integer, nullable
    - `created_at` string, date-time, nullable
    - `updated_at` string, date-time, nullable
    - `version` string: Opaque representation version used for optimistic concurrency.

## Other responses

- `400`: Invalid request.
- `401`: Missing or invalid token.
- `403`: The token lacks the required scope.
- `404`: Resource not found.
- `409`: Idempotency conflict or request in progress.
- `412`: The resource has changed since it was read.
- `422`: Validation failed.
- `428`: An If-Match header is required.
- `429`: Rate limit exceeded.

---

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