Partner
Revoke API Key
Permanently revokes an API key. Revocation is immediate and irreversible.
POST
Overview
Revokes an API key so that no further requests can authenticate with it. Revocation is permanent and takes effect immediately — the next request using the revoked key returns401 unauthorized.
Headers
A valid
PARTNER scope key for the partner that owns the key being revoked.Path Parameters
UUID of the key to revoke. Available from List API Keys.
Response
UUID of the revoked key.
Always
"revoked" on success.ISO-8601 timestamp of the revocation.
Errors
| HTTP | error | When |
|---|---|---|
| 400 | already_revoked | The key is already in revoked status |
| 401 | unauthorized | Missing or invalid x-api-key |
| 404 | key_not_found | key_id does not exist, or belongs to a different partner |
