PUT - Rename a particular Folder in the account

 Purpose

The API renames the particular folder with the given name.

 Request URL 

https://mail.zoho.com/api/accounts/<accountID>/folders/<folderID>

 Request Parameters

ParameterData TypeDescription
accountID*LongThe unique Zoho Account number associated with the particular account.
folderID*LongThe Folder ID of the specific folder, which should be renamed.

* - Mandatory parameters

  Request Body (JSON Object)

ParameterData TypeAllowed ValuesDescription
mode* String

 rename

 Provide the mode as rename to rename a folder.
folderName*  String Folder name The new Folder name to be provided to the Folder. 

* - Mandatory parameters

 Response Codes

Please refer Response Codes.

Sample Request


				{
   "mode": "rename",
   "folderName": "NewName"
}