PUT - Move a particular Folder in the account

 Purpose

The API moves the particular folder under a different parent folder.

 Request URL 

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

 Request Parameters

ParameterData TypeDescription
accountID*LongaccountID - The unique Zoho Account number associated with the particular account.
folderID*LongfolderID - The Folder ID of the specific folder, which should be moved.

* - Mandatory parameters

  Request Body (JSON Object)

ParameterData TypeAllowed ValuesDescription
mode* String

 move

 Provide the mode as move to move a folder.
parentFolderId*  Long Parent Folder ID The Folder ID of the destination Parent Folder, under which the Folder should be moved to.
prevFolderId  Long Previous Folder ID The Folder ID of the specific Folder under the Parent Folder, to determine the exact position where the Folder should be placed.

* - Mandatory parameters

 Response Codes

Please refer Response Codes.

Sample Request


				{
    "mode":"move",
    "parentFolderId":900000012345
}