Workflow Runs API
POST/api/workflow-runs/{runId}/cancel
Product availabilityAlgaPSA

Cancel a workflow run

Stops the run and marks its waits as canceled.

RBAC · workflow

Path parameters

runIdstringRequired

Request body

Content type: application/json · schema WorkflowRunActionBody

reasonstring
Audit reason for the action.
sourcestring
Origin label; defaults to 'api'.

Response body

Success response 200 · schema UnversionedV1Success

dataanyOfRequired
anyOf (option 1)object
anyOf (option 2)array of object
itemsobject
metaobject

Response codes

200
Cancel a workflow run succeeded.
400
Invalid request.
401
API key missing/invalid.
403
Caller lacks the required permission.
404
Run not found.
500
Unexpected error.