---
title: "Delete workflow"
method: DELETE
path: "/api/workflows/{workflow_id}"
tags: ["workflows"]
---

# Delete workflow

`DELETE /api/workflows/{workflow_id}`

Soft-deletes a workflow.

## Path parameters

- `workflow_id` string, required

## Response `204`

Workflow deleted successfully

## Other responses

- `401` — Unauthorized
- `404` — Workflow not found
- `500` — Internal server error

## Changes

> 38 revisions in range; 2 could not be searched.

- **2026-06-03** `8560879e6188` — 2 breaking, 6 info
  - removed the required property `error` from the response with the `401` status
  - removed the required property `error` from the response with the `404` status
  - for the `path` request parameter `workflow_id`, the type/format was generalized from `string`/`uuid` to `string`/``
  - added the optional property `details` to the response with the `500` status
  - …4 more
- **2026-05-22** `09a5075587c8` — 2 info
  - api operation id `deleteCloudWorkflow` removed and replaced with `deleteWorkflow`
  - added the non-success response with the status `500`
- **2026-05-08** `c9640fded659` — 1 info
  - endpoint added
- **2026-04-24** `a66055fa384e` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/comfy-org/apis/comfyui-api/changes/api/workflows/:workflow_id/delete.md)

---

[API](https://skmtc.dev/comfy-org/apis/comfyui-api.md) · [All operations](https://skmtc.dev/comfy-org/apis/comfyui-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/comfy-org/comfyui-api/revisions/da017caf56f1/schema)
