> For the complete documentation index, see [llms.txt](https://developer.perculus.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.perculus.com/v2-en/services/room-management/user-create-2.md).

# Updating a Room

Below is a list of available parameters for updating room:

<table data-full-width="false"><thead><tr><th width="155">Parameter</th><th width="126">Type</th><th width="128">Required</th><th width="102">Default</th><th>Description</th></tr></thead><tbody><tr><td>name</td><td>string</td><td>No</td><td>null</td><td>Room name</td></tr><tr><td>lang</td><td>string</td><td>No</td><td>null</td><td>Room session language code(<a href="/pages/lsSvGzmzOzBbQwfL34jH">see</a>)</td></tr><tr><td>tags</td><td>string</td><td>No</td><td>null</td><td>Room session tags. Separated by commas.</td></tr><tr><td>inaccessible_replay</td><td>bool</td><td>No</td><td>null</td><td>Flag indicating that the room session will be recorded</td></tr><tr><td>options</td><td><a href="/pages/cQpTnQcpJmixOvnTB4vP">Session Options Object</a></td><td>No</td><td>null</td><td>Room session options(<a href="/pages/cQpTnQcpJmixOvnTB4vP">see</a>)</td></tr><tr><td>room_hosts</td><td>string[]</td><td>Hayır</td><td>null</td><td>List of user GUIDs to be assigned as room instructors</td></tr></tbody></table>

{% hint style="warning" %}
The **name** parameter must be unique for a room.

⚠️ All parameters are optional in the update operation. Only the sent parameters will be updated.
{% endhint %}

**Example request**

{% tabs %}
{% tab title="CURL" %}

```bash
curl -L -X PUT 'https://<DOMAIN>/api/groups/xapi/room/:ROOM_GUID' \
-H 'Content-Type: application/json' \
--data-raw '{
  "name": "Updated Room Name",
  "lang": "en-US",
  "tags": "test",
  "inaccessible_replay": true,
  "room_hosts": ["<user_guid_1>", "<user_guid_2>"]
  "options": {
    "allow_rating": false,
    "preparation_time": 10,
    "session_duration": 90,
    "Chat": {
      "OffMessageModule": true,
      "OffGeneralMsging": false
    },
    "Duration": {
      "AllowExtendTime": false,
      "UseRemainingTime": true
    },
    "allow_users_stream_self_cam_mic": false,
    "hide_user_streams": true,
    "enable_attendance_check": false,
    "allow_reactions": false
  }
}'
```

{% endtab %}
{% endtabs %}

**Example response**

A successful update operation will return `200 OK`  with body including the following information:

```json
{
  "room_guid": "B5530B7F-6414-4046-87A6-67730D5F9F08",
  "name": "Updated Room Name",
  "lang": "en-US",
  "url": "https://yourdomain.com/groups/room/updated-room-name_{0}",
  "created_date": "2025-08-14T13:02:00",
  "tags": "test",
  "inaccessible_replay": true,
  "room_hosts": ["A1B2C3D4-E5F6-7890-ABCD-EF1234567890"],
  "ui_options": {
    "allow_rating": false,
    "preparation_time": 10,
    "session_duration": 90,
    "chat": {
      "offMessageModule": true,
      "offGeneralMsging": false,
      "offGeneralMsgLimitForUser": false,
      "offSpecialMsging": false,
      "offSpecialMsgToAdmin": false,
      "offSpecialMsgToUser": false,
      "offNewMsgSound": false,
      "offClearForReplay": false,
      "onNewMsgSoundInAll": false,
      "onNewMsgNotifyInAll": false
    },
    "duration": {
      "allowExtendTime": false,
      "useRemainingTime": true
    },
    "allow_users_stream_self_cam_mic": false,
    "hide_user_streams": true,
    "enable_attendance_check": false,
    "enable_simultaneous_interpretation": false,
    "enable_simultaneous_interpretation_for_users": false,
    "start_active": false,
    "return_url": "",
    "allow_reactions": false
  }
}

```
