---
title: "Delete a workflow"
method: DELETE
path: "/v1/projects/{project_id}/workflows/{workflow_id}"
tags: ["Workflows"]
---

# Delete a workflow

`DELETE /v1/projects/{project_id}/workflows/{workflow_id}`

## Request

- Base URL: `https://api.naturali.ai`
- URL: `https://api.naturali.ai/v1/projects/{project_id}/workflows/{workflow_id}`
- Auth: one of:
  - HTTP bearer
  - OAuth 2 (authorization code, authorization URL `https://api.naturali.ai/authorize`, token URL `https://api.naturali.ai/token`, scopes: `mcp:access`)

Deletes a workflow. Rejected while open tasks exist.

## Path parameters

- `workflow_id` string, required

## Response `204`

Workflow deleted

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Workflow not found
- `409`: The workflow has open tasks and cannot be deleted

---

[API](https://skmtc.dev/naturali/apis/naturali-ai-api.md) · [All operations](https://skmtc.dev/naturali/apis/naturali-ai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/naturali/apis/naturali-ai-api/revisions/e4905b78f422?raw)
