Skip to main content
DELETE
/
v1
/
workflows
/
{workflow_id}
curl -X DELETE "https://api.danubeai.com/v1/workflows/wf_abc123" \
  -H "danube-api-key: YOUR_API_KEY"
{
  "message": "Workflow deleted successfully"
}

Overview

Permanently deletes a workflow. Only the workflow owner can delete it. This action cannot be undone. Auth: Accepts either JWT or API key (danube-api-key header).

Path Parameters

workflow_id
string
required
The UUID of the workflow to delete

Response

message
string
Confirmation message

Example

curl -X DELETE "https://api.danubeai.com/v1/workflows/wf_abc123" \
  -H "danube-api-key: YOUR_API_KEY"
{
  "message": "Workflow deleted successfully"
}

MCP Tool

This endpoint is also available as the delete_workflow MCP tool:
result = await mcp.call_tool("delete_workflow", {
    "workflow_id": "wf_abc123"
})