Skip to main content

Revoke API Key

POST 

/v2alpha1/apiKeys:selfRevoke

Allows an API key holder to revoke their own key. The caller must provide the full API key secret as proof of possession. Supports issued API keys and imported keys. JWT and macaroon tokens cannot be self-revoked (they are stateless).

The PRIVILEGE_WITHDRAWN reason is not allowed for self-revocation (admin-only).

Request

Responses

A successful response.