PUT api/2.0/files/folder/{folderId} This function requires authentication

Description

Renames the selected folder with a new title specified in the request.

Parameters
Name Description Type Example
folderId
sent in url
Folder ID number 1234
Title
sent in body
Folder title string some text
Example
PUT api/2.0/files/folder/1234
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "Title": "some text"
}
Returns

Folder parameters

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