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