PUT - Enable IMAP View for a particular Folder

 Purpose

The API helps to enable the folder to be viewable and accessible via IMAP. 

 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, for which IMAP should be enabled.

* - Mandatory parameters

  Request Body (JSON Object)

ParameterData TypeAllowed ValuesDescription
mode* String

 setViewableInIMAP

 Provide the mode as setViewable in IMAP to make it accessible via IMAP.

* - Mandatory parameters

 Response Codes

Please refer Response Codes.

Sample Request


				{
    "mode":"setViewableInIMAP"
}