Revoke an app key
Ends a key at once, including for connections that are open with it. A tenant’s two main credentials cannot be revoked. Rotate them instead, with an overlap of 0 to end the old one at once.
DELETE
/_luna/tenants/{tenant}/keys/{id}Authorization
AuthorizationBearer token · headerrequiredAn account key (la_…), an API key (lt_…) or a session token (ls_…). The scopes listed are the permissions the operation needs.
Scopes:
keys:writePath parameters
tenantstringrequiredThe tenant, by its full name.
idstringrequiredThe key's id.
Responses
200
Whether a key was revoked.
revokedbooleanrequiredWhether there was a key with this id to revoke.
default
The request failed. The status says how and error.message says why.
errorErrorDetailrequiredShow propertiesHide properties
codestring | nullA code for programs to branch on, when the error has one.
messagestringrequiredWhat went wrong, in a sentence a person can read.