Skip to main content

Revoke an API key

POST 

/api-keys/:id/rotate

Permanently disables the API key. Any subsequent request presenting the plaintext returns 401. Emits api_key.revoke audit event. Requires the api-key:write permission.

Request

Responses

New plaintext secret (returned ONCE) + row metadata.