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

Description

Sets a status to the 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}
status
sent in body
Message status: "read", "unread", "important", or "normal" string some text
Example
PUT api/2.0/mail/messages/mark
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "ids": [
    1234
  ],
  "status": "some text"
}
Returns

List of messages with changed status