PUT api/2.0/mail/tags/{id}/set
Adds a tag with the ID specified in the request to the messages.
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}
|
|
PUT api/2.0/mail/tags/1234/set
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
{
"messages": [
1234
]
}