Delete API Key
Revoke an API key by ID.
DELETE/v1/customer/api-keys/{id}
Request Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string (UUID) | Required | API key identifier to revoke. |
Request Example
bash
curl -X DELETE https://api.therouter.ai/v1/customer/api-keys/4d953cc1-b4d5-45fd-9d51-0f0a6e2ec7d8
-H "Authorization: Bearer $THEROUTER_API_KEY"Response
json
{
"id": "4d953cc1-b4d5-45fd-9d51-0f0a6e2ec7d8",
"status": "revoked",
"revoked_at": "2026-02-26T08:55:00.000Z"
}Notes
Key revocation is immediate and irreversible.