Knowledge Base
Categories: Reseller Linux Hosting API
Change the Primary Domain for a Reseller Linux Hosting Order Using the API
When you want to change the primary domain for an existing Reseller Linux Hosting order using the API. This article explains the required parameters and API request details for updating the primary domain name.
Description
Changes the primary domain name for an existing Reseller 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 Order ID which is to be modified. |
| new-domain-name | String | Required | The new primary domain name. |
HTTP Method
POST
Example Test URL Request
US Server https://test.httpapi.com/api/resellerhosting/linux/us/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/resellerhosting/linux/in/change-domain-name.json?auth-userid=0&api-key=key&order-id=0&new-domain-name=domain.com
Response
Returns a map of the execution details of the change primary domain operation.
Did you find this article helpful?