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

client = SampleHealthcare(
    api_key=os.environ.get("SAMPLEHC_API_KEY"),  # This is the default and can be omitted
)
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.