Skip to main content
PATCH
Update your organization settings. You can change the name, add model provider API keys, or remove existing ones. All fields are optional — only include what you want to change.
Requires an organization key (chd_org_*). Scoped keys cannot access this endpoint.

Request Body

string
New name for your organization. 1–128 characters.
object
A map of provider name to API key. Keys are merged with your existing configuration — you don’t need to resend providers you’ve already set up.Set a provider’s value to an empty string "" to remove it.Supported providers: anthropic, openai, gemini.

Response

Returns 200 OK with the updated organization object.
string
Unique organization ID (UUID).
string
Organization name.
string[]
Providers with active API keys. Actual keys are never returned.
string
Current plan.
integer
Max active instances allowed.
integer
Current active instance count.
string
ISO 8601 timestamp.
string
ISO 8601 timestamp.