PUT - Make the Domain as Alias to another Domain

 Purpose

The API adds the provided domain as an alias to another Domain

 Request URL 

 https://mail.zoho.com/api/organization/<zoid>/domains/<domainName>

Scope

organization.domains

 Request Parameters

ParameterData TypeDescription
zoid*IntegerThe unique Zoho Organization Identifier for the organization 
domainName* StringName of the domain, to which the alias domain should be pointed to.

* - Mandatory parameters

  Request Body (JSON Object)

ParameterData TypeAllowed ValuesDescription
mode* String makeDomainAsAliasTo make a domain as an alias to another domain
domainAlias*  String Domain name Name of the domain, which should be added as alias domain.

* - Mandatory parameters

 Response Codes

Please refer Response Codes.

Sample Request

Copied{
   "mode": "makeDomainAsAlias",
   "domainAlias": "zylkernew.com"
}