PUT - Enable Email Forwarding for an account
Purpose
The API is used to enable the Email Forwarding for a user 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. |
mailForwardTo | String | The Email Address of the account to which the Email Forwarding should be enabled. |
* - Mandatory parameters
Request Body (JSON Object)
Parameter | Data Type | Allowed Values | Description |
mode* | String | enableMailForward | To enable the Email Forwarding to the provided Email Address |
* - Mandatory parameters
Response Codes
Please refer Response Codes.
Sample Request (Using Admin Authentication)
{
"zuid" : "1111111",
"mode" : "enableMailForward",
"mailForward" : [
{
"mailForwardTo" : "paula@zylker.com"
}
]
}
Sample Request (Using User Authentication)
{
"mode" : "enableMailForward",
"mailForward" : [
{
"mailForwardTo" : "paula@zylker.com"
}
]
}