PUT
/
api
/
v2
/
workflow-runs
/
{workflowRunId}
/
cancel
Python
from samplehc import SampleHealthcare

client = SampleHealthcare(
    api_key="My API Key",
)
response = client.v2.workflow_runs.cancel(
    "workflowRunId",
)
print(response)
{}

Path Parameters

workflowRunId
string
required

The unique identifier of the workflow run to be cancelled.

Response

200
application/json

Workflow run cancellation request accepted.