Get Started
Usage API
More information

PUT api/2.0/mail/messages/restore This function requires authentication

Description

Restores the messages with the IDs specified in the request to their original folders.

Parameters
Name Description Type Example
ids
sent in body
List of message IDs System.Collections.Generic.List`1[System.Int32]
Example
PUT api/2.0/mail/messages/restore
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "ids": [
    1234
  ]
}
Returns

List of restored message IDs