Change Primary Domain

Description

Changes the primary domain name for an existing Multi Domain Windows 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 which is to be modified.
new-domain-name String Required The new primary domain name.

HTTP Method

POST

Example Test URL Request

<#start multidomainwindowshosting#>US, Texas Server https://test.httpapi.com/api/multidomainhosting/windows/us/change-domain-name.json?auth-userid=0&api-key=key&order-id=0&new-domain-name=domain.com <#end multidomainwindowshosting#> <#start multidomainwindowshostingusca#>US, California Server https://test.httpapi.com/api/multidomainhosting/windows/us/ca/change-domain-name.json?auth-userid=0&api-key=key&order-id=0&new-domain-name=domain.com <#end multidomainwindowshostingusca#><#start multidomainwindowshostinguk#> UK Server https://test.httpapi.com/api/multidomainhosting/windows/uk/change-domain-name.json?auth-userid=0&api-key=key&order-id=0&new-domain-name=domain.com <#end multidomainwindowshostinguk#><#start multidomainwindowshostingin#> India Server https://test.httpapi.com/api/multidomainhosting/windows/in/change-domain-name.json?auth-userid=0&api-key=key&order-id=0&new-domain-name=domain.com <#end multidomainwindowshostingin#><#start multidomainwindowshostinghk#> Hong Kong Server https://test.httpapi.com/api/multidomainhosting/windows/hk/change-domain-name.json?auth-userid=0&api-key=key&order-id=0&new-domain-name=domain.com <#end multidomainwindowshostinghk#><#start multidomainwindowshostingtr#> Turkey Server https://test.httpapi.com/api/multidomainhosting/windows/tr/change-domain-name.json?auth-userid=0&api-key=key&order-id=0&new-domain-name=domain.com <#end multidomainwindowshostingtr#>

Response

Returns a map of the execution details of the change primary domain operation.