import osfrom unstructured import UnstructuredClientclient = UnstructuredClient( username=os.environ.get("UNSTRUCTURED_USERNAME"), # This is the default and can be omitted password=os.environ.get("UNSTRUCTURED_PASSWORD"), # This is the default and can be omitted)workflow = client.workflows.delete( workflow_id="workflow_id",)print(workflow.workflow_id)
{ "workflow_id": "<string>"}
Workflows
Delete Workflow
Delete a workflow
POST
/
workflows
/
delete
Python
import osfrom unstructured import UnstructuredClientclient = UnstructuredClient( username=os.environ.get("UNSTRUCTURED_USERNAME"), # This is the default and can be omitted password=os.environ.get("UNSTRUCTURED_PASSWORD"), # This is the default and can be omitted)workflow = client.workflows.delete( workflow_id="workflow_id",)print(workflow.workflow_id)