Restores the conversations with the IDs specified in the request to their original folders.
Name | Description | Type | Example |
ids
sent in body
|
List of conversation IDs | System.Collections.Generic.List{System.Int32} | |
learnSpamTrainer
sent in body
|
Specifies whether to send messages to the spam training or not
optional
|
Bool value | true |
PUT api/2.0/mail/conversations/restore Host: yourportal.onlyoffice.com Content-Type: application/json Accept: application/json { "ids": [ 1234 ], "learnSpamTrainer": true }
List of restored conversation IDs