Revoke an API key
Revoke an API key by its ID. The key will immediately stop working for authentication. Revoking an already-revoked key is a no-op and still returns 204.
Authorization:
-
User keys: The key's creator or an account admin may revoke the key.
-
Service keys: Account admins and space admins in all of the key's bound spaces may revoke the key regardless of who created it. All other callers must have the SERVICE_KEY_REVOKE permission in every bound space and must be the key's creator. Callers without read access to the key receive 404 to prevent key-ID enumeration.
<Note>This endpoint is in beta, read more here.</Note>
Path parameters
A universally unique identifier (base64-encoded opaque string).
The unique API key identifier (base64)
Response
API key successfully revoked
Changes
No changes recorded. 1 of the 16 revisions has no diff computed, so it could not be searched.