API ReferenceMandates

Revoke mandate

POST
/v1/mandates/{id}/revoke

Revoke with the user's passkey (drafts can be discarded without one)

Authorization

admin
AuthorizationBearer <token>

AGENTGUARD_ADMIN_TOKEN (owner/operator)

In: header

Path Parameters

id*string

Request Body

application/json

assertion?

WebAuthn assertion (navigator.credentials.get response, JSON-encoded) over the challenge returned by the matching *-request call

reason?string

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/mandates/string/revoke" \  -H "Content-Type: application/json" \  -d '{}'
{}