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
New room name string some text
Example
PUT api/2.0/files/rooms/1234
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "Title": "some text"
}
Returns

Updated room information

Example Response
{
  "status": 0,
  "response": {
    "ParentId": 1234,
    "FilesCount": 1234,
    "FoldersCount": 1234,
    "New": 1234,
    "Mute": true,
    "Pinned": true,
    "Private": true
  }
}