TRY NEW VERSION

Try now New API BETA

Try out the new view and capabilities of the API documentation

START

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

Description

Removes a tag with the ID specified in the request from the messages.

Parameters
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}
Example
PUT api/2.0/mail/tags/1234/unset
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "messages": [
    1234
  ]
}
Returns

Removed mail tag ID