API Keys
Update API key status
Update the status of an API key. REVOKED is a terminal state.
PATCH
Authorizations
API key for authentication
Path Parameters
API key resource ID (ULID, 26 characters)
Pattern:
^[0-9A-Z]{26}$Body
application/json
Update the status of an API key.
Current status of the API key.
- ACTIVE: Key is active and can be used for authentication
- REVOKED: Key has been permanently revoked (terminal state)
- SUSPENDED: Key is temporarily disabled and can be reactivated
- EXPIRED: Key has expired and can be reactivated
Available options:
ACTIVE, REVOKED, SUSPENDED, EXPIRED Example:
"ACTIVE"
Reason for the status change (for audit purposes)
Maximum string length:
2000Example:
"Key compromised, revoking as a precaution"
Response
API key status updated successfully
API key resource. Key values are masked except during creation.

