from samplehc import SampleHealthcare
client = SampleHealthcare(
api_key="My API Key",
)
response = client.v2.workflow_runs.cancel(
"workflowRunId",
)
print(response)
{}
Requests cancellation of a currently active workflow run. This is an asynchronous operation and the run may take some time to fully stop.
from samplehc import SampleHealthcare
client = SampleHealthcare(
api_key="My API Key",
)
response = client.v2.workflow_runs.cancel(
"workflowRunId",
)
print(response)
{}
The unique identifier of the workflow run to be cancelled.
Workflow run cancellation request accepted.