Skip to main content

Terminate Workflow

Terminates a running workflow. A reason must be provided that is captured as the termination reason for the workflow.

Input Payload

AttributeDescription
workflowIdThe unique identifier of the workflow to be terminated.

API Endpoint

DELETE /workflow/{workflowId}

Client SDK Methods

void terminateWorkflow(String workflowId, String reason)