Skip to main content
DELETE
/
api_keys
/
{api_key_id}
Revoke API Key
curl --request DELETE \
  --url https://api.example.com/api_keys/{api_key_id}
{
  "id": "<string>",
  "message": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.terminaluse.com/llms.txt

Use this file to discover all available pages before exploring further.

Revoking a key immediately disables its access:
  1. Key is marked as revoked (cannot authenticate)
  2. Auth cache is evicted (immediate effect)
  3. Scope tuples are cleaned up (best-effort)
  4. Key is removed from all sharing groups

Path Parameters

api_key_id
string
required

Response

Successful Response

id
string
required
message
string
required