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