PUT - Remove all tags from an email

 Purpose

This API is used to remove all tags from a particular email or a group of emails.

 Request URL 

https://mail.zoho.com/api/accounts/<accountId>/updatemessage

  Request Body (JSON Object)

ParameterData TypeAllowed ValuesDescription
messageId*JSON-The unique identifier for the respective email
mode* StringremoveAllLabelsProvide the mode as removeAllLabels to remove all labels from the mentioned messages.
labelid*Long Int-The unique identifier given for the tag that you want to add
folderIdLong Int-The unique identifier of the respective folder
isArchiveBooleantrue, falseIf the relevant email is archived or not

* - Mandatory parameters

 Response Codes

Please refer Response Codes.

Sample Request

Copied{  
 "mode":"removeAllLabels",
 "messageId" : [11000000004001]
}