Get Started
Portal api methods
Help

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

Description

Updates the selected tag

Parameters
Name Description Type Example
id
sent in url
number 1234
name
sent in body
Tag name represented as string string some text
style
sent in body
Style identificator. With postfix will be added to tag css style whe it will represent. Specifies color of tag. string some text
addresses
sent in body
Specifies list of addresses tag 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 MailTag