Revoke a key
DELETE/admin/tenants/:id/keys/:keyId
Immediate — there is no cache to wait out.
Revocation rather than deletion: the row stays as the record of a credential that existed and when it stopped working. Deleting it would make a leaked key indistinguishable from one that was never issued. The key keeps appearing in the listing, with its revocation time and who did it.
Permission: apikeys.write
Request
Responses
- 204
- 400
- 401
- 403
- 404
- 503
Revoked
X-Tenant-Id is missing
No session cookie, or it expired
The role lacks apikeys.write, or the caller is not a member of this casino
No such key for this casino, or the path id does not match the active one
API keys are not available on this instance