PUT - Add Email Alias for User

 Purpose

The API is used to add an email alias for a user in the organization. 

 Request URL 

 http://<hostname>/api/organization/<zoid>/accounts/<accountid>

 Request Parameters

ParameterData TypeDescription
zoid* Integerzoid - The unique Zoho Organization Identifier for the organization 
accountid* Integer Account Id of the user for whom an email alias should be added using this API

* - Mandatory parameters

  Request Body (JSON Object)

ParameterData TypeAllowed ValuesDescription
mode* String 

 addEmailAlias

 To add email aliases for a user in the organization.

emailAlias* String List of the domain based email aliases for the user

 Provide the email aliases which should be added to the account specified. 

* - Mandatory parameters

 Response Codes

Please refer Response Codes.

Sample Request


				{
   "zuid": "1111111",
   "mode": "addEmailAlias",
   "emailAlias": [
      "philip@myotherdomain.com"
   ]
}