Skip to main content
PATCH
Update project

Authorizations

Authorization
string
header
required

Bearer token: a shop API key (WEAVERSE_API_KEY), a scoped API key or a delegated MCP OAuth token; translation-unit routes also accept a project-bound translation agent token. Each operation lists the scope it requires; the scope table is in the API description.

Path Parameters

projectId
string
required

Body

application/json
name
string
required

New project name.

Required string length: 1 - 191
expectedUpdatedAt
string<date-time>

The project revision from your last GET, sent back unchanged. When it no longer matches, the rename is refused with 409 STALE_PROJECT. Optional for shop API keys; required for delegated (MCP OAuth) tokens, which get 428 PRECONDITION_REQUIRED without it.

Response

The updated project

object
enum<string>
Available options:
project
id
string
name
string | null
parentProjectId
string | null
createdAt
string<date-time> | null
revision
string<date-time> | null

The project's revision (its updatedAt). Send it back as expectedUpdatedAt on project-fenced writes such as a rename.