Change Primary Domain

KB Tags associated with this article:
Use all tags
KB Tags
Body

Description

Changes the primary domain name for an existing Multi Domain Linux Hosting order.

HTTP Method

POST

Example Test URL Request

US, Texas Server https://test.httpapi.com/api/multidomainhosting/linux/us/change-domain-name.json?auth-userid=0&api-key=key&order-id=0&new-domain-name=domain.com US, California Server https://test.httpapi.com/api/multidomainhosting/linux/us/ca/change-domain-name.json?auth-userid=0&api-key=key&order-id=0&new-domain-name=domain.com India Server https://test.httpapi.com/api/multidomainhosting/linux/in/change-domain-name.json?auth-userid=0&api-key=key&order-id=0&new-domain-name=domain.com

Parameters

Name Data Type Required / Optional Description
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.

Response

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