Get Started
Portal api methods
Help

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

Description

Adds the selected tag to the messages

Parameters
Name Description Type Example
id
sent in url
Tag for setting id number 1234
messages
sent in body
Messages id for setting. System.Collections.Generic.List`1[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

Setted MailTag