Endpoint
Overview
Revoke one of your API keys. The key stops authenticating immediately. Your account’s default key cannot be deleted.Path Parameters
The key’s
id from List API Keys — not the sk_... secret.Response
true when the key was revoked.Errors
| Status | Error | Meaning |
|---|---|---|
| 403 | the default key cannot be deleted | Default keys are permanent |
| 404 | key not found | Unknown key, or it belongs to another account |