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

# Delete flow

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

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.net/zavudev/apis/zavu-unified-messaging-layer-api.md) · [All operations](https://skmtc.net/zavudev/apis/zavu-unified-messaging-layer-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/zavudev/zavu-unified-messaging-layer-api/revisions/eb3dc75cc05b/schema)
