PUT - Disable Email Forwarding for the account
Purpose
The API is used to disable the Email Forwarding configured for the account. This can be done by the Admin for a user or by the user for himself.
Request URL
Using Admin Authentication:
http://<hostname>/api/organization/<zoid>/accounts/<accountid>
Using User Authentication:
http://<hostname>/api/accounts/<accountid>
Request Parameters
Parameter | Data Type | Description |
zuid* | Integer | zuid - The unique Zoho User Identifier for the organization |
mode* | String | mode - The mode of the From Email address added to the account. |
mailForward | Obect | Mail Forward object with the provided parameters |
mailForwardTo | String | The Email Address of the account to which the Email Forwarding should be enabled. |
reason | String | Reason for disabling Email forwarding |
* - Mandatory parameters
Request Body (JSON Object)
Parameter | Data Type | Allowed Values | Description |
mode* | String | disableMailForward | To disable Mail Forward for the account. |
* - Mandatory parameters
Response Codes
Please refer Response Codes.
Sample Request
Copied{
"zuid": "1111111",
"mailForward": [
{
"mailForwardTo": "backup@mydomain.com",
"reason": "Account to be deleted"
}
],
"mode": "disableMailForward"
}
Sample Request (Using User Authentication)
Copied{
"mailForward": [
{
"mailForwardTo": "backup@mydomain.com",
"reason": "Account to be deleted"
}
],
"mode": "disableMailForward"
}