Updates a tag with the ID specified in the request.
Name | Description | Type | Example |
id
sent in url
|
Tag ID | number | 1234 |
name
sent in body
|
New tag name | string | some text |
style
sent in body
|
New style identifier: a postfix which represents the CSS style (tag color) | string | some text |
addresses
sent in body
|
New list of addresses associated with a tag |
Collection of strings
collection
|
some text |
PUT api/2.0/mail/tags/1234 Host: yourportal.onlyoffice.com Content-Type: application/json Accept: application/json { "name": "some text", "style": "some text", "addresses": [ "some text" ] }
Updated mail tag