Skip to Content
Browse the Docs▾

Delete a workflow

DELETE/api/v1/workflows/{id}

Remove a workflow. Nothing fires again, and it drops out of every read.

curl -X DELETE -H "Authorization: Bearer $REVNU_API_TOKEN" https://revnu.com/api/v1/workflows/j57…

Response

{ "ok": true, "name": "…" }. The workflow disappears from GET /workflows, its pending wake is cancelled, and GET /workflows/{id}/runs answers 404 from then on. 404 for an unknown or another account's workflow.

Frequently Asked Questions

Can I undo a delete?

No. To stop a workflow and keep it, pause it instead. Leads a deleted workflow found stay in your leads.

Which scope does this need?

workflows:write. A token without it gets 403 with requiredScope in the body. GET /me shows a token's scopes.

Are responses cached?

No. Every response is Cache-Control: no-store, so what you read is current.