---
metadata:
  - name: generator
    content: Diplodoc Platform v5.64.0
alternate:
  - https://yandex.ru/dev/api360/doc/ru/directory/patch-room.md
  - href: https://yandex.ru/dev/api360/doc/ru/directory/patch-room.md
    type: text/markdown
    title: Markdown version
  - href: https://yandex.ru/dev/api360/doc/ru/llms.txt?revision=r21934284
    rel: describedby
sourcePath: docs/dev/api360/concepts/gw/directory/patch-room.md
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.ru/dev/api360/doc/ru/llms.txt?revision=r21934284

<!-- source: ru/openapi/v1directoryorganizationsorg_idroomsroom_id-patch.md -->
<div class="openapi">

# Изменить параметры переговорки организации

<!-- markdownlint-disable-file -->

Изменяет название, офис, вместимость, этаж, возможность бронирования или описание переговорки организации.

Отправить запрос может администратор организации или сотрудник с ролью **Менеджер пользователей**.


## Request

<div class="openapi__requests">

<div class="openapi__request__wrapper" style="--method: var(--dc-openapi-methods-patch);margin-bottom: 12px">

<div class="openapi__request">

PATCH {.openapi__method}
```text translate=no
https://cloud-api.yandex.net/v1/directory/organizations/{org_id}/rooms/{room_id}
```

</div>

</div>

</div>

### Path parameters

#|
|| **Name** | **Description** ||
||

_org_id_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: integer

Идентификатор организации.
{.table-cell}
||
||

_room_id_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

Идентификатор переговорки.

_Example:_{.json-schema-reset .json-schema-example} `abcdef12-3456-4789-abcd-ef1234567890`
{.table-cell}
||
|#{.json-schema-properties}

<div class="openapi-entity">

### Body

{% cut "application/json" %}

```json translate=no
{
  "default_email": "meeting-room@example.com",
  "name": "Переговорка 1",
  "office_id": "12345678-90ab-4cde-8f01-234567890abc",
  "capacity": 8,
  "floor": 3,
  "can_book": true,
  "description": "Переговорка рядом с центральным входом.",
  "name_en": "Meeting room",
  "description_en": "Room on the second floor",
  "has_video_conference": false,
  "video_conference_number": "001234;ext=56",
  "has_whiteboard": false,
  "has_table": true,
  "map_link": {
    "href": "https://example.org/offices/main",
    "method": "GET",
    "templated": false
  },
  "has_projector": false,
  "group_name": "Building A",
  "chairs_count": 0,
  "extra_seats_count": 0
}
```

{% endcut %}

#|
|| **Name** | **Description** ||
||

_can_book_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: boolean

Признак возможности бронирования переговорки:

- `true` — можно забронировать;
- `false` — бронирование недоступно.

{.table-cell}
||
||

_capacity_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: integer

Вместимость переговорки (количество человек).

_Min value:_{.json-schema-reset .json-schema-assertion} `1`
{.table-cell}
||
||

_chairs_count_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: integer

Количество стульев.

_Min value:_{.json-schema-reset .json-schema-assertion} `0`

_Max value:_{.json-schema-reset .json-schema-assertion} `2147483647`
{.table-cell}
||
||

_default_email_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: string

Адрес, используемый по умолчанию.

_Example:_{.json-schema-reset .json-schema-example} `meeting-room@example.com`
{.table-cell}
||
||

_description_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: string

Описание переговорной комнаты на русском.

_Example:_{.json-schema-reset .json-schema-example} `Переговорка рядом с центральным входом.`
{.table-cell}
||
||

_description_en_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: string

Описание переговорной комнаты на английском.

_Example:_{.json-schema-reset .json-schema-example} `Room on the second floor`
{.table-cell}
||
||

_extra_seats_count_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: integer

Количество дополнительных мест или складных стульев.

_Min value:_{.json-schema-reset .json-schema-assertion} `0`

_Max value:_{.json-schema-reset .json-schema-assertion} `2147483647`
{.table-cell}
||
||

_floor_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: integer

Этаж, на котором расположена переговорка.
{.table-cell}
||
||

_group_name_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: string

Произвольное название группы переговорных комнат, например корпуса офиса.

_Example:_{.json-schema-reset .json-schema-example} `Building A`
{.table-cell}
||
||

_has_projector_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: boolean

Наличие проектора.
{.table-cell}
||
||

_has_table_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: boolean

Наличие стола.
{.table-cell}
||
||

_has_video_conference_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: boolean

Наличие оборудования для видеоконференций.
{.table-cell}
||
||

_has_whiteboard_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: boolean

Наличие маркерной доски.
{.table-cell}
||
||

_map_link_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: [MapLink](#entity-MapLink)

Ссылка на карту или инструкцию, как найти офис или переговорную комнату.

{% cut "**Example**" %}{.json-schema-example}

```json translate=no
{
  "href": "https://example.org/offices/main",
  "method": "GET",
  "templated": false
}
```

{% endcut %}
{.table-cell}
||
||

_name_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: string

Название переговорной комнаты на русском.

_Example:_{.json-schema-reset .json-schema-example} `Переговорка 1`
{.table-cell}
||
||

_name_en_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: string

Название переговорной комнаты на английском.

_Example:_{.json-schema-reset .json-schema-example} `Meeting room`
{.table-cell}
||
||

_office_id_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: string

Идентификатор офиса, в котором расположена переговорка.

_Example:_{.json-schema-reset .json-schema-example} `12345678-90ab-4cde-8f01-234567890abc`
{.table-cell}
||
||

_video_conference_number_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: string

Номер видеоконференции, включая добавочный номер.

_Example:_{.json-schema-reset .json-schema-example} `001234;ext=56`
{.table-cell}
||
|#{.json-schema-properties}

</div>

<div class="openapi-entity">

### MapLink {#entity-MapLink}

Ссылка на карту или инструкцию, как найти офис или переговорную комнату.

#|
|| **Name** | **Description** ||
||

_href_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

URL со схемой http или https.

_Example:_{.json-schema-reset .json-schema-example} `https://example.org/offices/main`
{.table-cell}
||
||

_method_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

HTTP-метод перехода по ссылке.

_Const:_{.json-schema-reset .json-schema-value} `GET`

_Example:_{.json-schema-reset .json-schema-example} `GET`
{.table-cell}
||
||

_templated_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: boolean

Признак шаблонизированной ссылки. Для ссылки на карту всегда false.
{.table-cell}
||
|#{.json-schema-properties}

{% cut "**Example**" %}{.json-schema-example}

```json translate=no
{
  "href": "https://example.org/offices/main",
  "method": "GET",
  "templated": false
}
```

{% endcut %}

</div>

## Responses

<div class="openapi__response__code__204">

## 204 No Content

Переговорная комната обновлена.

</div>

<div class="openapi__response__code__400">

## 400 Bad Request

Некорректный запрос.

<div class="openapi-entity">

### Body

{% cut "application/json" %}

```json translate=no
{
  "error": "bad_request",
  "description": "Bad request",
  "message": "Bad request",
  "details": {}
}
```

{% endcut %}

#|
|| **Name** | **Description** ||
||

_description_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

Техническое описание ошибки.

_Example:_{.json-schema-reset .json-schema-example} `Bad request`
{.table-cell}
||
||

_error_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

Код ошибки

_Example:_{.json-schema-reset .json-schema-example} `bad_request`
{.table-cell}
||
||

_message_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

Сообщение об ошибке.

_Example:_{.json-schema-reset .json-schema-example} `Bad request`
{.table-cell}
||
||

_details_{.json-schema-reset .json-schema-property}
{.table-cell}|
{% cut "**Type**: object" %}

#|
|#{.json-schema-properties}

{% endcut %}

Дополнительные детали ошибки

{% cut "**Example**" %}{.json-schema-example}

```json translate=no
{}
```

{% endcut %}
{.table-cell}
||
|#{.json-schema-properties}

</div>

</div>

<div class="openapi__response__code__403">

## 403 Forbidden

Возможные ошибки:

- Authorization error
- SSO user default email change is prohibited
- SSO user personal info change is prohibited

<div class="openapi-entity">

### Body

{% cut "application/json" %}

```json translate=no
{
  "error": "forbidden",
  "description": "Forbidden",
  "message": "Forbidden",
  "details": {}
}
```

{% endcut %}

#|
|| **Name** | **Description** ||
||

_description_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

Техническое описание ошибки.

_Example:_{.json-schema-reset .json-schema-example} `Forbidden`
{.table-cell}
||
||

_error_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

Код ошибки

_Example:_{.json-schema-reset .json-schema-example} `forbidden`
{.table-cell}
||
||

_message_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

Сообщение об ошибке.

_Example:_{.json-schema-reset .json-schema-example} `Forbidden`
{.table-cell}
||
||

_details_{.json-schema-reset .json-schema-property}
{.table-cell}|
{% cut "**Type**: object" %}

#|
|#{.json-schema-properties}

{% endcut %}

Дополнительные детали ошибки

{% cut "**Example**" %}{.json-schema-example}

```json translate=no
{}
```

{% endcut %}
{.table-cell}
||
|#{.json-schema-properties}

</div>

</div>

<div class="openapi__response__code__404">

## 404 Not Found

Запрашиваемый ресурс не найден.

<div class="openapi-entity">

### Body

{% cut "application/json" %}

```json translate=no
{
  "error": "not_found",
  "description": "Not found",
  "message": "Not found",
  "details": {}
}
```

{% endcut %}

#|
|| **Name** | **Description** ||
||

_description_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

Техническое описание ошибки.

_Example:_{.json-schema-reset .json-schema-example} `Not found`
{.table-cell}
||
||

_error_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

Код ошибки

_Example:_{.json-schema-reset .json-schema-example} `not_found`
{.table-cell}
||
||

_message_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

Сообщение об ошибке.

_Example:_{.json-schema-reset .json-schema-example} `Not found`
{.table-cell}
||
||

_details_{.json-schema-reset .json-schema-property}
{.table-cell}|
{% cut "**Type**: object" %}

#|
|#{.json-schema-properties}

{% endcut %}

Дополнительные детали ошибки

{% cut "**Example**" %}{.json-schema-example}

```json translate=no
{}
```

{% endcut %}
{.table-cell}
||
|#{.json-schema-properties}

</div>

</div>

<div class="openapi__response__code__422">

## 422 Unprocessable Entity

Возможные ошибки:

- Invalid data
- Missing required field
- Invalid field value
- Invalid request body
- Default email must be one of the user's existing emails
- Invalid default email
- Default email cannot be empty
- Invalid display name
- Display name cannot be empty

<div class="openapi-entity">

### Body

{% cut "application/json" %}

```json translate=no
{
  "error": "invalid_data",
  "description": "Invalid data",
  "message": "Invalid data",
  "details": {}
}
```

{% endcut %}

#|
|| **Name** | **Description** ||
||

_description_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

Техническое описание ошибки.

_Example:_{.json-schema-reset .json-schema-example} `Invalid data`
{.table-cell}
||
||

_error_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

Код ошибки

_Example:_{.json-schema-reset .json-schema-example} `invalid_data`
{.table-cell}
||
||

_message_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

Сообщение об ошибке.

_Example:_{.json-schema-reset .json-schema-example} `Invalid data`
{.table-cell}
||
||

_details_{.json-schema-reset .json-schema-property}
{.table-cell}|
{% cut "**Type**: object" %}

#|
|#{.json-schema-properties}

{% endcut %}

Дополнительные детали ошибки

{% cut "**Example**" %}{.json-schema-example}

```json translate=no
{}
```

{% endcut %}
{.table-cell}
||
|#{.json-schema-properties}

</div>

</div>

</div>
<!-- endsource: ru/openapi/v1directoryorganizationsorg_idroomsroom_id-patch.md -->


[*Deprecated]: No longer supported, please use an alternative and newer version.