PUT - Make domain as Primary Domain

 Purpose

The API makes the domain provided as the Primary domain of the organization.

 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, which should be made as the Primary domain.

* - Mandatory parameters

  Request Body (JSON Object)

ParameterData TypeAllowed ValuesDescription
mode* String setPrimaryDomain To set the domain as the primary domain of the organization.

* - Mandatory parameters

 Response Codes

Please refer Response Codes.

Sample Request

Copied{
   "mode": "setPrimaryDomain"
}