Skip to content

Delete API Key

DELETE
/api-keys/{id}
curl --request DELETE \
--url https://api.testzilla.ai/v1/api-keys/example \
--header 'x-api-key: <x-api-key>'
id
required
string

Id identifier

Key revoked (idempotent: a second call reports it was already revoked).

Media type application/json
object
success
required
boolean
message
required
string
Example
{
"success": true
}

Unauthorized (missing or invalid API key)

API key not found.

Media type application/json
object
error
required

Human-readable error message.

string
Example generated
{
"error": "example"
}