---
title: "Remove an audio stream from a live call"
method: DELETE
path: "/legs/{id}/streams/{streamId}"
tags: ["Legs"]
---

# Remove an audio stream from a live call

`DELETE /legs/{id}/streams/{streamId}`

Disables the stream with a re-INVITE carrying port 0 for its section (RFC 3264 §8.2) and releases its RTP port. The m-line slot survives as a tombstone — the m-line count never decreases for the life of a dialog — so a later added stream takes a new position. The primary stream carries the call and cannot be removed.

## Response `204`

Stream removed

## Other responses

- `400` — Not a SIP leg
- `404` — Leg or stream not found
- `409` — Cannot remove the primary stream, or the re-INVITE failed

---

[API](https://skmtc.net/voiceblender/apis/voiceblender-api.md) · [All operations](https://skmtc.net/voiceblender/apis/voiceblender-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/voiceblender/voiceblender-api/revisions/ad30827d3b57/schema)
