Skip to main content
DELETE
/
api
/
workflows
/
{id}
Delete a workflow
curl --request DELETE \
  --url https://app.puffle.ai/api/workflows/{id} \
  --header 'Authorization: Bearer <token>'
{
  "success": true
}

Overview

Delete a workflow. Cascades through workflow_nodes, workflow_edges, workflow_runs, and workflow_run_steps. Irreversible.

AI agent notes

Confirm with the human first. Deletion is total — the workflow, its graph, and all historical runs go away. If the user just wants to stop the workflow, call Toggle workflow active/paused instead.Related: Get a workflow, Update a workflow.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<uuid>
required

Workflow UUID.

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$

Response

Workflow deleted.

success
enum<boolean>
required
Available options:
true