PUT - To enable Sub-domain Stripping

 Purpose

This API is used to enable sub-domain stripping for your domain.

 Request URL 

https://<hostname>/api/organization/<zoid>/domains/<domainName>

Scope

organization.domains

 Request Parameters

ParameterData TypeDescription
zoid*IntegerThe unique Zoho Organization Identifier of your organization. 
domainName*StringName of the domain, for which you want to enable subdomain stripping.

* - Mandatory parameters

  Request Body (JSON Object)

ParameterData TypeAllowed ValuesDescription
mode* String enableSubDomainStrippingTo enable sub-domain stripping for your domain.

* - Mandatory parameters

 Response Codes

Please refer Response Codes.

Sample Request

Copied{ 
"mode" : "enableSubDomainStripping" 
}