PUT api/2.0/mail/userfolders/{id}
Updates a user folder with the parameters specified in the request.
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
|
|
PUT api/2.0/mail/userfolders/0
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
{
"name": "some text",
"parentId": null
}