Skip to main content
PATCH
/
workflows
/
{workflow_id}
Terminate Workflow
curl --request PATCH \
  --url https://api.example.com/workflows/{workflow_id}
Terminates a running workflow. A terminated workflow will no longer execute scheduled jobs.

Path Parameters

workflow_id
string
required
Unique identifier of the workflow to terminate

Response

Returns 204 No Content on success.

Example Request

curl -X PATCH https://api.chronoverse.com/workflows/wf_1234567890abcdef \
  -H "Authorization: Bearer YOUR_API_TOKEN"

Notes

  • Terminated workflows cannot be restarted. To resume similar functionality, create a new workflow
  • Once terminated, the workflow’s terminated_at timestamp will be set
  • Terminated workflows can still be retrieved via the GET endpoint but will not execute any jobs
  • Use the DELETE endpoint to permanently remove a workflow from the system

Build docs developers (and LLMs) love