Preview agent revocation
curl -X GET "https://api.52-28-238-205.sslip.io/v1/agents/{id}/revoke-preview" \ -H "Cookie: <console session cookie>"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.
https://api.52-28-238-205.sslip.ioAuthorization
sessionCookie: <console session cookie>apiKeyAuthorization: Bearer sk_test_...
Path
idstringrequiredAgent id (agt_...).
owner, admin, approver (own team). The caller must hold this permission, or the call is refused with 403.uapg_session<token>Console session cookie (HttpOnly, SameSite=Lax)
id*IdAgent id (agt_...).
Success.
application/json- response
agent*effects*[key: string]?anyPOSTRotate agent credential
Issues a new credential and lets the previous ones expire after an overlap of 0, 1 or 24 hours (0 revokes them now). Console session or API key with credential:issue; the secret is shown once.
POSTRevoke agent
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.