Update API key
Updates an API key’s mutable properties
keys:write scope. Naturally idempotent.
202 with propagation_status: "pending" while the change takes effect.Authorizations
API key authentication.
Keys start with ak_ prefix.
Example: Authorization: Bearer ak_live_xxxxxxxxxxxx
Path Parameters
Workspace identifier
API key identifier
Body
Human-readable name for the key
1 - 255Per-key rate limit in requests per minute (minimum 1)
x >= 1Expiration timestamp. Send null to remove expiration.
Whether the key is active
Budget configuration for an API key.
Response
OK
Updated API key metadata with optional propagation status.
Unique identifier for the API key
Workspace this key belongs to
Human-readable name for the key
Key prefix for identification
Key profile derived from granted scopes
inference, management, mixed Granted permission scopes
Whether the key is currently active
When the key was created
Per-key rate limit in requests per minute
Expiration timestamp
When the key was last used
ID of the API key that created this key
Status of change propagation to edge caches
pending, null