ds_delete_workflow
Delete DolphinScheduler workflows by code, taking them offline first. Supports single or batch deletion with independent failure handling.
Instructions
Delete workflow(s) by code (takes offline first). Supports single or batch delete.
v2.0.12: merged ds_batch_delete_workflows.
workflow_code=12345: delete single workflow
workflow_code=[12345, 67890]: batch delete (each independent; one failure doesn't block others)
Args: project_name: Project name workflow_code: Process-definition code (int for single, list for batch)
Returns: Single: {"workflow_code": int, "status": "deleted"} Batch: {"total": int, "deleted": int, "failed": int, "deleted_codes": [...], "failed_details": [...]}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_name | Yes | ||
| workflow_code | Yes |