Skip to main content
POST
/
workflow
/
{id}
/
terminate
Terminate a workflow execution (force stop)
curl --request POST \
  --url http://localhost:3001/workflow/{id}/terminate \
  --header 'Content-Type: application/json' \
  --data '
{
  "reason": "<string>"
}
'
{
  "terminated": true,
  "workflowId": "<string>"
}

Path Parameters

id
string
required

The id of workflow to terminate

Body

application/json
reason
string

Optional reason for termination

Response

The workflow was terminated

terminated
boolean
workflowId
string