Skip to main content
POST
/
api
/
v1
/
executions
/
{execution_id}
/
cancel_workflow
Cancel Workflow
curl --request POST \
  --url https://control-plane.kubiya.ai/api/v1/executions/{execution_id}/cancel_workflow \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "workflow_message_id": "<string>"
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Path Parameters

execution_id
string
required

Body

application/json

Request to cancel a specific workflow

workflow_message_id
string
required

Response

Successful Response