Delete an API Key
Delete a Regular API Key (irreversible).
Request Parameters: None (key_id is in the path)
Response Example
{
"id": "key_01j...",
"deleted": true,
"success": true
}
After deletion, the Regular API Key is invalidated immediately; the detail and usage endpoints return 404 key_not_found, and the key no longer appears in the list.
Deletion is irreversible. After deletion, the Regular API Key is invalidated immediately and the auth cache is cleared immediately; old authorization is not allowed to continue. On a subsequent delete, if the original idempotency key is not reused, 404 key_not_found should be returned.
For general request conventions, data structures, and error codes, see the Key Management API overview.