***

title: update
slug: /reference/python/rest/video/streams/update
description: Update a stream using PUT.
max-toc-depth: 3
---------------------

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

Update a stream. Uses PUT for full replacement, so all fields must be provided
in the request body.

<Note>
  This method performs a full replacement (PUT), not a partial update (PATCH).
  Include all fields you want to keep in the request body.
</Note>

<EndpointSchemaSnippet endpoint="PUT /api/video/streams/{id}" />

## **Response Example**

<EndpointResponseSnippet endpoint="PUT /api/video/streams/{id}" />

## **Example**

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

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

stream = client.video.streams.update(
    "stream-id",
    url="rtmp://new-destination.example.com/key"
)
```