Revoke another of your keys
POST/v1/api-user/keys/:key_id/revoke
Revokes one of the API user's other keys at once, for example the replaced key once every system uses the new one. A key cannot revoke itself (rotate it, or revoke it with another key or in the portal). The notification addresses get an email and the api_key.rotated webhook event is sent with action revoked.
Request
Responses
- 200
- 400
- 404
- 409
The revoked key
invalid_key_id
key_not_found
cannot_revoke_current_key