Skip to main content
POST
/
v1
/
api-keys
/
{id}
/
revoke
Revoke API Key
curl --request POST \
  --url https://api.truthlocks.com/v1/api-keys/{id}/revoke \
  --header 'X-API-Key: <api-key>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "status": "REVOKED"
}

Documentation Index

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

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

Permanently revokes an API key. This action cannot be undone. All requests using this key will immediately return 401 Unauthorized.

Parameters

id
uuid
required
API Key ID to revoke

Responses

Authorizations

X-API-Key
string
header
required

API key for machine-to-machine authentication

Path Parameters

id
string<uuid>
required

Response

200 - application/json

Key revoked

id
string<uuid>
status
enum<string>
Available options:
REVOKED