Skip to main content
Stops a plan that still has work ahead — queued, waiting for approval, scheduled or running. Steps already done stay done; the rest are cancelled. The agent keeps working the contact.
Needs the agents.plans:write scope.

Path parameters

Body

Request

Response

200 OK — the plan, now cancelled.

Errors

Every refusal is {"error": {"code", "message", "field"}}; field is there when one input is at fault. Any request can also be refused for its key, its account or its rate (key_required, invalid_key, account_suspended, plan_excludes_api, address_not_allowed, rate_limited); see the overview.