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

Description

Updates a tag with the ID specified in the request.

Parameters
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
Example
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"
  ]
}
Returns

Updated mail tag