PUT - Add Email Alias for User

 Purpose

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

 Request URL 

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

Scope

organization.accounts

 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

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