PUT - Rename Domain

Purpose

This API is used in cases where you'd like to assign a new name for an existing domain.

Request URL 

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

Request Parameters

ParameterData TypeDescription
zoid*LongThe unique identifier used for the organization
domainName*String The name of the domain to which you'd like to rename

* - Mandatory parameters

Request Body (JSON Parameters)

ParameterData TypeAllowed ValuesDescription
mode*StringrenameDomainTo rename an existing domain
newDomainName*String-The new name that you'd like to give for the domain

* - Mandatory parameters

 Response Codes

Please refer Response Codes.

Sample Request

CopiedSample URL:
https://mail.zoho.com/api/organization/123456789/domains/zylker.com

Sample Request Body:
{
"mode" : "renameDomain",
"newDomainName" : "zylker.com"
}