Revoke an API key (Admin)
Permanently revoke an API key for any user in the same entity. Requires api-keys:manage permission. This action cannot be undone.
Path Parameters
- Type: stringkey
Id requiredAPI key ID to revoke
Responses
- 204
No Content (204) - Operation completed successfully with no response body
- application/json
- 403
Access denied - user not in same entity or missing permission
- application/json
Request Example for delete/auth/api-keys/{keyId}
curl 'https://api.gpcn.com/v1/auth/api-keys/{keyId}' \
--request DELETE \
--header 'X-API-Key: YOUR_SECRET_TOKEN'
No Body
.png)