Skip to content
Get started

Delete

workflows.delete(strworkflow_id) -> object
DELETE/workflows/{workflowId}

Delete workflow

ParametersExpand Collapse
workflow_id: str
ReturnsExpand Collapse
object

Delete

import os
from scenario_sdk import Scenario

client = Scenario(
    api_key=os.environ.get("SCENARIO_SDK_API_KEY"),  # This is the default and can be omitted
    api_secret=os.environ.get("SCENARIO_SDK_API_SECRET"),  # This is the default and can be omitted
)
workflow = client.workflows.delete(
    "workflowId",
)
print(workflow)
{}
Returns Examples
{}