PUT - Empty Folder - Delete emails in the folder


The API helps to delete all the emails in the specified folder.

 Request URL 


 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 emptied.

* - Mandatory parameters

  Request Body (JSON Object)

ParameterData TypeAllowed ValuesDescription
mode* String


The mode should be passed as emptyFolder to delete all the emails in the folder

* - Mandatory parameters

 Response Codes

Please refer Response Codes.

Sample Request