cURL
curl --request POST \ --url https://api.truthlocks.com/v1/issuers/keys/{kid}/compromise \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data ' { "reason": "<string>" } '
{ "kid": "ed-key-1", "status": "compromised", "compromised_at": "2026-02-18T19:00:00Z", "affected_attestations": 42 }
Reports a key as compromised. Immediately disables the key and flags all attestations signed with it for review.
API key for machine-to-machine authentication
Key marked as compromised