Runs

Cancel Workflow Run

Cancel an ongoing workflow run.

DELETE/v2/workflows/runs/{workflowRunId}
cURL
curl --request DELETE \
  --url https://qstash-{region}.upstash.io/v2/workflows/runs/{workflowRunId} \
  --header 'Authorization: Bearer <token>'

Authorization

Authorizationheaderstringrequired

Bearer authentication header of the form Bearer <token>.

Path parameters

workflowRunIdpathstringrequired

The ID of the workflow run to cancel.

Response

200 — Workflow run cancelled successfully

404 — A workflow run is not found with the given id.

500 — An unexpected error occured.

Loading search…