---
title: "Delete flow"
method: DELETE
path: "/v1/senders/{senderId}/agent/flows/{flowId}"
tags: ["Agent Flows"]
---

# Delete flow

`DELETE /v1/senders/{senderId}/agent/flows/{flowId}`

## Request

- Base URL: `https://api.zavu.dev`
- URL: `https://api.zavu.dev/v1/senders/{senderId}/agent/flows/{flowId}`
- Auth: HTTP bearer

Delete a flow. Cannot delete flows with active sessions.

## Path parameters

- `senderId` string, required
- `flowId` string, required

## Response `204`

Flow deleted.

## Other responses

- `400`: Cannot delete flow with active sessions.
- `401`: Unauthorized.
- `404`: Flow not found.

---

[API](https://skmtc.dev/zavudev/apis/zavu-unified-messaging-layer-api.md) - [All operations](https://skmtc.dev/zavudev/apis/zavu-unified-messaging-layer-api/llms.txt) - [OpenAPI document](https://skmtc.dev/zavudev/apis/zavu-unified-messaging-layer-api/revisions/75bc777b0ffb?raw)
