REST API
Cancel Workflow
Stop a running workflow run
DELETE
/
v2
/
workflows
/
runs
/
{workflowRunId}
Cancelling a workflow run will remove it from QStash and stop it from being delivered in the future.
Request
workflowRunId
string
requiredThe id of the message to cancel.
Response
This endpoint returns
200 OK
when successful.404 NOT FOUND
when a workflow run is not found with the given id.500 INTERNAL SERVER
when an unexpected error occurs.
Was this page helpful?