---
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

## Changes

- **2026-08-04** `9b0a18aea1e2` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/voiceblender/apis/voiceblender-api/changes/legs/:id/streams/:streamId/delete.md)

---

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