PUT - Remove Email Aliases from User Account
Purpose
The API is used to remove the email alias for a user in the organization.
Request URL
https://<hostname>/api/organization/<zoid>/accounts/<accountid>
Request Parameters
Parameter | Data Type | Description |
zoid* | Integer | zoid - The unique Zoho Organization Identifier for the organization |
accountid* | Integer | Account Id of the user whose email alias should be removed using this API |
* - Mandatory parameters
Request Body (JSON Object)
Parameter | Data Type | Allowed Values | Description |
mode* | String | deleteEmailAlias | To remove the list of email aliases from a user's account in the organization. |
emailAliases* | String | List of the domain based email aliases for the user | Provide the email aliases which should be removed from the account specified. |
* - Mandatory parameters
Response Codes
Please refer Response Codes.
Sample Request
Copied{
"zuid": "1111111",
"mode": "deleteEmailAlias",
"emailAlias": [
"philip@myotherdomain.com"
]
}