Skip to main content

Documentation Index

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

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

Revoke API Key

DELETE /v1/api-keys/:id
Revokes an API key, permanently disabling it. Revoked keys cannot be reactivated.

Path Parameters

ParameterTypeDescription
idstringThe API key ID (UUID or key_id)

Response

{
  "data": { "revoked": true },
  "meta": { "request_id": "550e8400-e29b-41d4-a716-446655440000" }
}
You cannot revoke the API key that you are currently using to authenticate the request. Use a different key to revoke it, or revoke it from the dashboard.

Errors

StatusTypeDescription
400validation_errorCannot revoke the key currently in use
404not_foundAPI key not found