Sets a status to the messages with the IDs specified in the request.
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 |
PUT api/2.0/mail/messages/mark Host: yourportal.onlyoffice.com Content-Type: application/json Accept: application/json { "ids": [ 1234 ], "status": "some text" }
List of messages with changed status