PUT api/2.0/mail/conversations/move
Moves conversations with the IDs specified in the request to the selected folder.
Name |
Description |
Type |
Example |
ids
sent in body
|
List of message IDs from the conversations
|
System.Collections.Generic.List{System.Int32}
|
|
folder
sent in body
|
Folder type: 1 - inbox, 2 - sent, 3 - drafts, 4 - trash, 5 - spam
|
number
|
1234
|
userFolderId
sent in body
|
User folder ID
optional
|
number
|
1234
|
PUT api/2.0/mail/conversations/move
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
{
"ids": [
1234
],
"folder": 1234,
"userFolderId": 1234
}
List of message IDs from the conversations