Skip to main content
POST
/
workflows
/
{workflow_id}
/
runs
/
{run_id}
/
cancel
Cancel Workflow Run
curl --request POST \
  --url https://api.example.com/workflows/{workflow_id}/runs/{run_id}/cancel \
  --header 'Authorization: Bearer <token>'
{
  "detail": "Bad request",
  "error_code": "BAD_REQUEST"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

workflow_id
string
required
run_id
string
required

Response

Successful Response