PUT api/2.0/mail/messages/move
Moves the messages to the specified folder
Name |
Description |
Type |
Example |
ids
sent in body
|
List of mesasges ids.
|
System.Collections.Generic.List`1[System.Int32]
|
|
folder
sent in body
|
Folder ID - integer. 1 - inbox, 2 - sent, 3 - drafts, 4 - trash, 5 - spam.
|
number
|
1234
|
userFolderId
sent in body
|
User Folder Id
optional
|
System.UInt32
|
|
PUT api/2.0/mail/messages/move
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
{
"ids": [
1234
],
"folder": 1234,
"userFolderId": null
}
List of moved messages ids.