Scrub API
POST/v1/tools/delete_flowfree

Delete a flow

Deletes a flow for good, by its name (flow_…): it no longer runs. Its runs stay. It cannot be undone.

Fields

FieldTypeDefaultWhat it is
flowstringRequiredIts name, flow_…

Call it

Request

curl -X POST https://app.scrub.app/v1/tools/delete_flow \
  -H "Authorization: Bearer $SCRUB_KEY" \
  -H "Content-Type: application/json" \
  -d '{"flow":"…"}'

Answer

{
  "ok": true,
  "result": {
    "…": "…"
  }
}

What result holds is said above.

Every call can also answer an error: what comes back. Try it with your key from Account.