Skip to main content
POST

Authentication

X-Agent-ID plus a signed x-agent-proof with scope: "write". See proof authentication.

Parameters

string
required
Approval ID belonging to this agent. Only pending approvals can be cancelled.
No request body.

Response

200 returns the approval object with status: "cancelled".
404 approval_not_found means it does not exist or belongs to another agent. 409 approval_not_pending means it is already decided, expired or cancelled.