Revoke agent
curl -X POST "https://api.52-28-238-205.sslip.io/v1/agents/{id}/revoke" \ -H "Cookie: <console session cookie>" \ -H "Content-Type: application/json" \ -d '{"sweep":true,"webauthn_assertion":{}}'Revokes the agent on every rail: credentials, open approvals and pending payments at once, then closes cards, cancels plans and sweeps spending wallets, and adds a signed revocation receipt. Console session or API key with agent:revoke; a console session needs a passkey step-up within the last 5 minutes. Cannot be undone.
https://api.52-28-238-205.sslip.ioAuthorization
sessionCookie: <console session cookie>apiKeyAuthorization: Bearer sk_test_...
Path
idstringrequiredAgent id (agt_...).
Body
application/json. Fields are listed under Request body below.
owner, admin, approver (own team). 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.uapg_session<token>Console session cookie (HttpOnly, SameSite=Lax)
id*IdAgent id (agt_...).
application/json- body
sweep?Sweeptruewebauthn_assertion?|nullSuccess.
application/json- response
revocation*effects*[key: string]?anyGETPreview agent revocation
Lists what revoking the agent would do: credentials, open approvals, pending payments, cards, plans, spending wallet balances and payments already in flight. Console session or API key with agent:revoke; changes nothing.
GETList mandates
Lists the organization's mandates with their active and latest versions, scope, limits and status. Console session or API key with payment:read.