Keys
More ways to use this page
Revoke a key
DELETE/v1/
TypeScript sendora
Python sendora
Key sk_… a server key
The key stops working at once. The last live key of a server cannot be revoked, so a server is never locked out; revoking a key that is already revoked is fine.
Parameters
idin pathstring (uuid)requiredThe key id.
Responses
Errors
Every error answers error, the code, and message, a sentence for a person. A code that adds fields is shown in full below the table.
| Code | Status | Meaning |
|---|---|---|
unauthorized | 401 | The key is missing, malformed or revoked. |
wrong_ | 403 | The key is of the other kind: a server key (sk_) where an account key (ak_) is needed, or the reverse. The message names the kind the operation takes. |
not_ | 404 | No such key of this server. |
last_ | 409 | This is the only live key of the server; create another before revoking it. |