---
title: "Delete a workflow"
method: DELETE
path: "/hub/workflows/{collection_topic}/{flow_topic}"
tags: ["Workflows"]
---

# Delete a workflow

`DELETE /hub/workflows/{collection_topic}/{flow_topic}`

## Request

- Base URL: `https://api.quiva.ai`
- URL: `https://api.quiva.ai/hub/workflows/{collection_topic}/{flow_topic}`
- Auth: one of:
  - HTTP bearer
  - API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/quivaworks/apis/quiva-ai-gateway-3/docs/hub/workflows/:collection_topic/:flow_topic/delete.ts> (a function with typed inputs; its response is checked against the schema)

Deletes a specific workflow by subject

## Response `200`

Workflow deleted successfully

- SuccessResponse
  - `message` string: Success message

## Other responses

- `400`: Bad request

## Changes

- **2025-06-06** `c94dfce6bc86`: 3 warning
  - deleted the `path` request parameter `collection_topic`
  - deleted the `path` request parameter `flow_topic`
  - deleted the `query` request parameter `keep_draft`

[Operation history](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway-3/changes/hub/workflows/:collection_topic/:flow_topic/delete.md)

---

[API](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway-3.md) - [All operations](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway-3/llms.txt) - [OpenAPI document](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway-3/revisions/f80cd5f3ac1c?raw)
