PUT api/2.0/files/rooms/{id} This function requires authentication

Description

Renames a room with the ID specified in the request.

Parameters
Name Description Type Example
id
sent in url
Room ID number 1234
Title
sent in body
Room name string some text
Quota
sent in body
Room quota number 1234
Example
PUT api/2.0/files/rooms/1234
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "Title": "some text",
  "Quota": 1234
}
Returns

Updated room information

Example Response
{
  "status": 0,
  "response": {
    "ParentId": 1234,
    "FilesCount": 1234,
    "FoldersCount": 1234,
    "IsShareable": true,
    "IsFavorite": true,
    "New": 1234,
    "Mute": true,
    "Pinned": true,
    "RoomType": "5",
    "Private": true,
    "QuotaLimit": 1234,
    "IsCustomQuota": true,
    "UsedSpace": 1234
  }
}