Skip to main content
PATCH
/
v1
/
organization
curl -X PATCH https://api.chowder.dev/v1/organization \
  -H "Authorization: Bearer chd_org_abc123..." \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Acme Corp (Renamed)",
    "model_api_keys": {
      "anthropic": "sk-ant-api03-...",
      "openai": "sk-proj-..."
    }
  }'
{
  "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "name": "Acme Corp (Renamed)",
  "model_providers": ["anthropic", "openai"],
  "subscription_tier": "shrimp",
  "instance_limit": 1,
  "instance_count": 1,
  "created_at": "2026-02-14T12:00:00.000000+00:00",
  "updated_at": "2026-02-14T15:00:00.000000+00:00"
}
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

name
string
New name for your organization. 1–128 characters.
model_api_keys
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.
id
string
Unique organization ID (UUID).
name
string
Organization name.
model_providers
string[]
Providers with active API keys. Actual keys are never returned.
subscription_tier
string
Current plan.
instance_limit
integer
Max active instances allowed.
instance_count
integer
Current active instance count.
created_at
string
ISO 8601 timestamp.
updated_at
string
ISO 8601 timestamp.
curl -X PATCH https://api.chowder.dev/v1/organization \
  -H "Authorization: Bearer chd_org_abc123..." \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Acme Corp (Renamed)",
    "model_api_keys": {
      "anthropic": "sk-ant-api03-...",
      "openai": "sk-proj-..."
    }
  }'
{
  "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "name": "Acme Corp (Renamed)",
  "model_providers": ["anthropic", "openai"],
  "subscription_tier": "shrimp",
  "instance_limit": 1,
  "instance_count": 1,
  "created_at": "2026-02-14T12:00:00.000000+00:00",
  "updated_at": "2026-02-14T15:00:00.000000+00:00"
}