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>'
{}
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