---
title: "DELETE /v1/flows/{flowArn}/mediaStreams/{mediaStreamName}"
method: DELETE
path: "/v1/flows/{flowArn}/mediaStreams/{mediaStreamName}"
---

# DELETE /v1/flows/{flowArn}/mediaStreams/{mediaStreamName}

`DELETE /v1/flows/{flowArn}/mediaStreams/{mediaStreamName}`

Removes a media stream from a flow. This action is only available if the media stream is not associated with a source or output.

## Path parameters

- `flowArn` string, required
- `mediaStreamName` string, required

## Response `200`

Success

- RemoveFlowMediaStreamResponse
  - `FlowArn` string — The Amazon Resource Name (ARN) of the flow.
  - `MediaStreamName` string — The name of the media stream that was removed.

## Other responses

- `480` — BadRequestException
- `481` — InternalServerErrorException
- `482` — ForbiddenException
- `483` — NotFoundException
- `484` — ServiceUnavailableException
- `485` — TooManyRequestsException

---

[API](https://skmtc.net/aws/apis/mediaconnect.md) · [All operations](https://skmtc.net/aws/apis/mediaconnect/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/mediaconnect/versions/695822d698d7/schema)
