Approvals
Cancel a pending approval (requester)
Withdraws a pending approval. Callable by the agent that requested it or the human it was addressed to. First answer wins: if the approval was already decided or expired, the existing record is returned unchanged (200) rather than an error — the caller's next question is what the answer was. A cancellation is delivered to webhook subscribers as approval.decided with decision: "cancelled", and audited as approval.cancelled.
post/v1/approvals/{approval_id}/cancel
Request
- Base URL: https://api.1claw.co
- URL: https://api.1claw.co/v1/approvals/{approval_id}/cancel
- Auth: HTTP bearer
Path parameters
approval_idstring uuid required
Request body
Response
The approval — cancelled, or the decision that landed first
Changes
No recorded changes to this operation across all 2 revisions of this API.