Get Started
Portal api methods
Help

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

Description

Removes the selected messages

Parameters
Name Description Type Example
ids
sent in body
List of messages ids for remove. System.Collections.Generic.List`1[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 messages ids