cURL
curl --request POST \ --url http://localhost:3001/workflow/{id}/terminate \ --header 'Content-Type: application/json' \ --data ' { "reason": "<string>" } '
{ "terminated": true, "workflowId": "<string>" }
Force terminates a workflow. Unlike stop/cancel, terminate immediately stops the workflow without allowing cleanup.
The id of workflow to terminate
Optional reason for termination
The workflow was terminated