Admin API Keys
Revoke an Admin API Key
POST
Revokes an Admin API Key so it can no longer be used. Revoking is permanent; the key stays listed (with revoked_at set) until it is deleted.
key*stringPOST /otto/api/admin-api-key/:key/revoke Parameter
POST /otto/api/admin-api-key/:key/revoke Request body
application/json- body
POST /otto/api/admin-api-key/:key/revoke Positive response
application/json- response
messages*array<>response*curl -X POST 'https://your.server.net/otto/api/admin-api-key/ak_KFji7VzNDOasdfqwerqOXFLJOhW/revoke' \ -H 'Content-Type: application/json' \ -d '{}'Example Response
{ "messages": [ { "code": 0, "text": "ok" } ], "response": {}}Was this page helpful?