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

Description

Removes messages with the IDs specified in the request.

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

{
  "ids": [
    1234
  ]
}
Returns

List of removed message IDs