Description
Changes the primary domain name for an existing Single Domain Linux Hosting Order.
Parameters
| Name | Data Type | Required / Optional | |
|---|---|---|---|
| auth-userid | Integer | Required | Authentication Parameter |
| api-key | String | Required | Authentication Parameter |
| order-id | Integer | Required | The OrderId for which the primary domain is to be changed. |
| new-domain-name | String | Required | The new primary domain name. |
HTTP Method
POST
Example Test URL Request
<#start singledomainhostinglinuxus#>US, Texas Server https://test.httpapi.com/api/singledomainhosting/linux/us/change-domain-name.json?auth-userid=0&api-key=key&order-id=0&new-domain-name=domain.com <#end singledomainhostinglinuxus#><#start singledomainhostinglinuxusca#>
US, California Server https://test.httpapi.com/api/singledomainhosting/linux/us/ca/change-domain-name.json?auth-userid=0&api-key=key&order-id=0&new-domain-name=domain.com <#end singledomainhostinglinuxusca#> <#start singledomainhostinglinuxuk#>
UK Server https://test.httpapi.com/api/singledomainhosting/linux/uk/change-domain-name.json?auth-userid=0&api-key=key&order-id=0&new-domain-name=domain.com <#end singledomainhostinglinuxuk#><#start singledomainhostinglinuxin#>
India Server https://test.httpapi.com/api/singledomainhosting/linux/in/change-domain-name.json?auth-userid=0&api-key=key&order-id=0&new-domain-name=domain.com <#end singledomainhostinglinuxin#><#start singledomainhostinglinuxhk#>
Hong Kong Server https://test.httpapi.com/api/singledomainhosting/linux/hk/change-domain-name.json?auth-userid=0&api-key=key&order-id=0&new-domain-name=domain.com <#end singledomainhostinglinuxhk#><#start singledomainhostinglinuxtr#>
Turkey Server https://test.httpapi.com/api/singledomainhosting/linux/tr/change-domain-name.json?auth-userid=0&api-key=key&order-id=0&new-domain-name=domain.com <#end singledomainhostinglinuxtr#>
Response
Returns a map of the execution details of the change primary domain operation.