The auth service is deployed on a private network. All endpoints except /health are internal management-plane operations.
Path Parameters
JTI (JWT ID) of the token to revoke.
Request Body
Type of the token being revoked. Accepted values: app, bearer, agent, subagent, session, override.
UUID of the customer that owns the token.
Reason for revocation (e.g., Compromised token, Employee offboarded). Stored in the revocation log.
Response
Whether the token was successfully revoked.
The JTI of the revoked token.
curl -X DELETE http://localhost:8001/revocation/8a3b9c4d-e5f6-7890-abcd-1234567890ab \
-H "Content-Type: application/json" \
-d '{
"token_type": "bearer",
"customer_id": "550e8400-e29b-41d4-a716-446655440000",
"reason": "Compromised token"
}'
{
"revoked": true,
"jti": "8a3b9c4d-e5f6-7890-abcd-1234567890ab"
}