# PATCH /chat/rooms/:room_id

**Resource:** [Chat](./chat.md)  
**MCP tool:** `update_chat_room`  
**Scopes:** `chat:write`  
**Write operation:** yes

Update a chat room title or archive it. Pass only the fields to change.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `room_id` | path | string | yes |  |
| `title` | body | string | no |  |
| `is_archived` | body | boolean | no |  |
| `require_approval` | body | boolean | no | Optional. Set true to route this write into the approval queue for human review instead of executing it immediately (returns 202 + an approval_id). Works even when your key/token has permission to execute directly. |

## Request example

```bash
curl -X PATCH   "https://api.trustpager.com/functions/v1/api/v1/chat/rooms/:room_id"   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"title":"...","is_archived":"..."}'
```

---
Base URL: `https://api.trustpager.com/functions/v1/api/v1` — Auth: `Authorization: Bearer YOUR_API_KEY`