API reference / Customer keys and view-as
Revoke a customer API key
POST/v1/platforms/{orgId}/customers/{customerId}/api-keys/{keyId}/revoke
Revoke a key this platform minted (platform:customer_keys). A key the customer created themselves is not_found and stays valid.
Before you call it
- Organization
platform - Permission
platform:customer_keys
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. |
customerIdpath, uuidrequired | A customer organization linked to your platform. |
keyIdpath, uuidrequired | An API key id from the key list. |
Response 204
Revoked
No body.