API reference / Identity and access
Revoke an API key
POST/v1/orgs/{orgId}/api-keys/{keyId}/revoke
Revoke a key immediately (api_keys:manage, AAL2).
Before you call it
- Permission
api_keys:manage - Second factorRequired for browser sessions. An API key with the scope replaces it.
Parameters
| Parameter | What it does |
|---|---|
orgIdpath, uuidrequired | The organization the call acts on. For platform calls, your platform's id; for customer calls, the customer's organization id. Get them from getMe or the customer list. |
keyIdpath, uuidrequired | An API key id from the key list. |
Response 204
Revoked
No body.