Mandates
POST/v1/mandates/{id}/revoke

Revoke mandate

View as .md
curl -X POST "https://api.52-28-238-205.sslip.io/v1/mandates/{id}/revoke" \  -H "Cookie: <console session cookie>"

Revokes the active version, denies pending payments of the agents it governs and adds a signed revocation receipt. Console session or API key with mandate:sign; a console session needs a passkey step-up within the last 5 minutes. Cannot be undone.

Server URLhttps://api.52-28-238-205.sslip.io
POST/v1/mandates/{id}/revokeBase URL: https://api.52-28-238-205.sslip.io
Authorization
  • sessionCookie: <console session cookie>
  • apiKeyAuthorization: Bearer sk_test_...
Path
  • idstringrequired

    Mandate id (mdt_...).

Requires permissionmandate:sign
Held by owner, admin (with a grant), finance (with a grant). The caller must hold this permission, or the call is refused with 403. From the console it also needs a passkey step-up within the last 5 minutes.

Authorization

cookieuapg_session<token>

Console session cookie (HttpOnly, SameSite=Lax)

Path Parameters

id*Id

Mandate id (mdt_...).

Response Body

Success.

application/json
  1. response
mandate*

One mandate version. The agent-facing GET returns only id, version, status, limits, allowed, expires_at.

effects*
[key: string]?any