Revokes an API key. The key stops working on each node once the revocation is applied there, and a 202 means the revocation was published. With an API key, the calling key must be the key that created this one. With an OAuth or JWT token, the key must be in your territory, and in your domain below Reseller scope. Nobody can revoke a key above their own scope. Super User scope skips the ownership, territory and domain checks. Keys that this key created stay active unless you send revoke_child_keys. An unknown key_id returns 404.
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params
Query Params
Responses
🟢202Accepted
application/json
Revocation published. The key stops working on each node once the event is processed there.