***

title: stop_stream
slug: /reference/python/rest/compat/calls/stop-stream
description: Stop a media stream on a call.
max-toc-depth: 3
---------------------

For a complete index of all SignalWire documentation pages, fetch https://signalwire.com/docs/llms.txt

Stop a media stream on a call.

<EndpointSchemaSnippet endpoint="POST /Accounts/{AccountSid}/Calls/{CallSid}/Streams/{Sid}" />

## **Response Example**

<EndpointResponseSnippet endpoint="POST /Accounts/{AccountSid}/Calls/{CallSid}/Streams/{Sid}" />

## **Example**

```python {9}
from signalwire.rest import RestClient

client = RestClient(
    project="your-project-id",
    token="your-api-token",
    host="your-space.signalwire.com",
)

client.compat.calls.stop_stream("CA...", "ST...", Status="stopped")
```