cURL
curl --request POST \ --url https://control-plane.kubiya.ai/api/v1/temporal-workflows/workflows/{workflow_id}/cancel \ --header 'Authorization: Bearer <token>'
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>" } ] }
Cancel a running workflow.
Sends a cancellation request to the workflow. The workflow can handle the cancellation gracefully by catching the CancelledError.
Query parameters (handled by downstream service):
Enter your Kubiya API token (format: Bearer )
Successful Response
Was this page helpful?