Get Started
Usage API
More information

PUT api/2.0/mail/userfolders/{id} This function requires authentication

Description

Updates a user folder with the parameters specified in the request.

Parameters
Name Description Type Example
id
sent in url
Folder ID System.UInt32
name
sent in body
New folder name string some text
parentId
sent in body
New parent folder ID (default = 0)
optional
System.UInt32
Example
PUT api/2.0/mail/userfolders/0
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "name": "some text",
  "parentId": null
}
Returns

List of folders