Get Started
Usage API
More information

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 identificator: a postfix which represents the css style (tag color) string some text
addresses
sent in body
New list of addresses which tag is associated with 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