Skip to main content
PATCH
Update organization project
This endpoint requires an Admin Key with the org:write scope, and the key owner must still be an organization admin at call time (otherwise 403 owner_not_admin).

Authorizations

Authorization
string
header
required

Send the Admin API secret as a Bearer token in the Authorization header (Bearer sk-admin-***). Create Admin Keys under Console → Organization → Admin API Keys.

Path Parameters

pid
string
required

Project ID.

Body

application/json

At least one field is required.

name
string

New project name. 1-20 characters, leading/trailing whitespace is not allowed.

Required string length: 1 - 20
Example:

"Data Team (new)"

description
string

New project description. Up to 50 characters.

Maximum string length: 50

Response

Updated project.

id
string
required

Project ID.

name
string
required

Project name.

created_at
string<date-time>
required

When the project was created.

description
string

Project description.

archived_at
string<date-time> | null

When the project was archived; null when not archived.

daily_consume_limit
integer<uint64> | null

Daily spend limit (milli-cent); null means unlimited.

Required range: x >= 0
monthly_consume_limit
integer<uint64> | null

Monthly spend limit (milli-cent); null means unlimited.

Required range: x >= 0
max_token_per_minute
integer<uint64> | null

Project-level tokens-per-minute cap (TPM); null clears the project override and inherits the organization rate-limit configuration (not fully unlimited).

Required range: x >= 0