Skip to main content

Update API Key Constraints

PATCH 

/api/v1/api-keys/:key_id

Update scope constraints (model allowlist, IP allowlist, spend cap) on an existing user-owned API key. Name, expiry, and scopes are immutable; revoke and recreate the key to change them.

Request

Responses

Successful Response