Endpoints
DEVELOPER REFERENCE

Delete workflow

DELETE /workflows/{workflowId}

Delete a workflow and its execution history. This is destructive.

DELETE /api/v1/workflows/{workflowId}

Permission: workflows:write. Write endpoints also require a workspace role that permits changes. See authentication and errors.

Request

curl --request DELETE 'https://app.innflow.ai/api/v1/workflows/workflow_id' \
  --header "Authorization: Bearer $INNFLOW_API_KEY"

Examples use placeholder IDs. Set INNFLOW_API_KEY in your shell and replace IDs with your own before sending a request.

Parameters

NameInRequiredDetails
workflowIdpathYesResource identifier.
X-Innflow-WorkspaceheaderNoOrganization ID, or personal. Set explicitly; omission uses legacy user-owned resource scope.

Response

HTTP 200 — Returns data with id and deleted: true.

See OpenAPI download for the machine-readable request contract and errors for errors and retry behavior.

On this page