PUT api/2.0/mail/tags/{id}/set This function requires authentication

Description

Adds a tag with the ID specified in the request to the messages.

Parameters
Name Description Type Example
id
sent in url
Tag ID number 1234
messages
sent in body
List of message IDs System.Collections.Generic.List{System.Int32}
Example
PUT api/2.0/mail/tags/1234/set
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "messages": [
    1234
  ]
}
Returns

Added mail tag ID