Cancel Workflow
Cancels a running workflow using Temporal’s native cancellation API. This triggers on_cancel handlers if defined.
Request
This endpoint expects a multipart form.
workflow_id
Workflow ID
run_id
Run ID (optional, cancels current run if omitted)
reason
Reason for cancellation
Response
OK
Errors
400
Bad Request Error
500
Internal Server Error