cURL
curl --request POST \ --url https://api.truthlocks.com/v1/consumer/api-keys/{id}/revoke \ --header 'Authorization: Bearer <token>'
{ "message": "API key revoked" }
Permanently revokes a consumer API key. All requests using this key will immediately return 401.
401 Unauthorized
key_id
JWT for user-initiated operations
The key_id of the API key to revoke
Key revoked