Revoke
POST /v1/revoke
Permanently revokes an Agent Badge. After revocation, POST /v1/verify will return { "valid": false } for this badge.
This operation is irreversible. A revoked badge cannot be reinstated. You must register a new agent to receive a new badge.
Auth: Authorization: Bearer AND badge in request body (both required)
Timeout: 30 seconds minimum (gRPC latency ~10s is normal)
Request
curl -X POST https://identity.sentryagent.ai/v1/revoke \
-H "Content-Type: application/json" \
-H "Authorization: Bearer eyJhbGciOiJFZERTQSIs..." \
-d '{ "badge": "eyJhbGciOiJFZERTQSIs..." }'Response
{ "revoked": true }Allow up to 30 seconds for this call to complete. The underlying gRPC VcService.Revoke() operation has inherent latency.