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
Parameter | Data Type | Description |
accountID* | Long | The unique Zoho Account number associated with the particular account. |
folderID* | Long | The Folder ID of the specific folder, which should be renamed. |
* - Mandatory parameters
Request Body (JSON Object)
Parameter | Data Type | Allowed Values | Description |
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
Copied{
"mode": "rename",
"folderName": "NewName"
}