API Keys

Update API key

Partially updates an API key. Omitted fields (not included in body) leave the stored value unchanged.

put/api-keys/{apiKey}

Path parameters

apiKeystring required

The API key string (not the numeric ID).

Request body

allowed_domainsstring[] nullable

Replace allowed domains list. Omit to keep current value.

namestring nullable

Update friendly name. Omit to keep current value.

activeboolean nullable

Activate or deactivate the key. Omit to keep current value.

Response

API key updated

idinteger required

Internal key ID (for filtering /usage).

namestring nullable required

Friendly name.

activeboolean required

Whether the key is active.

allowed_domainsstring[] required

Allowed domains.

routing_strategy'economy' | 'performance' required
created_atstring date-time required
updated_atstring date-time required

Changes