Skip to main content
PATCH
Update organization settings

Authorizations

Authorization
string
header
required

Session token from signing in, sent as Authorization: Bearer <token>.

Path Parameters

org_id
string
required

The organization id (a UUID).

Body

application/json

A partial update of organization settings. For each field: omitted leaves the setting unchanged, null restores its default, and a value sets it.

allowed_models
string[] | null

Limit the organization's API keys to these models (names or aliases, at most 256; stored and returned as canonical names). Null allows every model again; an empty list is rejected. Omitted: no change. Owners and admins only.

fallback_enabled
boolean | null

Enable or disable fallback providers. Omitted: no change. Null: restore the default.

long_context_disabled_models
string[] | null

Turn the long-context tier off for these models (names or aliases, at most 256; stored and returned as canonical names). Null or an empty list turns it on for every model again. Omitted: no change. Owners and admins only.

Response

The settings after the change.

The organization settings.

settings
object
required

The settings of an organization.