Moves the messages to a folder with the ID specified in the request.
Name | Description | Type | Example |
ids
sent in body
|
List of message IDs | 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/messages/move Host: yourportal.onlyoffice.com Content-Type: application/json Accept: application/json { "ids": [ 1234 ], "folder": 1234, "userFolderId": 1234 }
List of moved message IDs