LLM-readable documentation index

Delete a Workflow

Hand off to an LLM

Delete a workflow and every one of its versions.

Permanent. Running and queued calls against this workflow continue to completion against the version they captured at call time; subsequent attempts to call the workflow return 404 Not Found.

Functions referenced by the deleted workflow are not removed — they remain available to other workflows or for direct reference.

Any connectors attached to the workflow are torn down first. Teardown is best-effort: per-connector failures are reported in connectorErrors but do not block the deletion, so check that array rather than relying on the status code alone.

DELETE
/v3/workflows/{workflowName}
x-api-key<token>

Authenticate using API Key in request header

In: header

Path Parameters

workflowName*string

Response Body

application/json

curl -X DELETE "https://api.bem.ai/v3/workflows/string"
{
  "workflow": {
    "id": "string",
    "name": "string",
    "versionNum": 0
  },
  "error": "string",
  "connectorErrors": [
    {
      "connectorID": "string",
      "name": "string",
      "operation": "create",
      "message": "string",
      "code": "string"
    }
  ]
}

See also