RevnuDocs
Browse the Docs▾

API Reference / Delete a workflow

Delete a workflow

DELETE/api/v1/workflows/{id}

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

Last updated

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.

Agents: this page is also markdown at /docs/workflow-delete.md, answers Accept: text/markdown, and is listed in /docs/llms.txt.

Frequently Asked Questions

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