PUT - Disable access to folder via IMAP
Purpose
The API helps to disable the folder from being viewable and makes the folder not 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 access needs to be disabled. |
* - Mandatory parameters
Request Body (JSON Object)
Parameter | Data Type | Allowed Values | Description |
mode* | String | removeViewableInIMAP | Provide the mode as removeViewableInIMAP to disable access via Folder for that folder. |
* - Mandatory parameters
Response Codes
Please refer Response Codes.
Sample Request
{
"mode":"removeViewableInIMAP"
}