***

title: update
slug: /reference/typescript/rest/video/rooms/update
description: Update a video room.
max-toc-depth: 3
---------------------

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

Update a video room. Uses PUT for full replacement.

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

## **Response Example**

<EndpointResponseSnippet endpoint="PUT /api/video/rooms/{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 updated = await client.video.rooms.update("room-id", {
  display_name: "Updated Room Name",
  max_members: 50,
});
console.log("Updated:", updated.name);
```