***

title: update
slug: /reference/typescript/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**

```typescript {9}
import { RestClient } from "@signalwire/sdk";

const client = new RestClient({
  project: "your-project-id",
  token: "your-api-token",
  host: "your-space.signalwire.com",
});

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