Skip to main content
DELETE
Delete API Key
Deleting a key revokes it immediately. Any request still using it will fail.

Headers

string
required
Your API key for authentication. Restricted keys cannot delete keys.

Body

string
required
The first 14 characters of the key, as returned by List API Keys. Works for full-access and restricted keys.

Response

null
null on success.
null | array
null on success, or a list of errors.

Last full-access key

While your organization has restricted keys, it must keep at least one full-access key, because live calls and dashboard sessions depend on it. Deleting the last full-access key returns 409 with the error LAST_FULL_ACCESS_KEY. Delete the restricted keys first, or create another full-access key.

Docs for agents: llms.txt