Description
Modifies the Host Name of the Child Name Server for the specified Domain Registration Order.
Parameters
| Name | Data Type | Required / Optional | Description | 
|---|---|---|---|
| auth-userid | Integer | Required | Authentication Parameter | 
| api-key | String | Required | Authentication Parameter | 
| order-id | Integer | Required | Order Id of the Domain Registration Order whose Child Name Server you want to change. | 
| old-cns | String | Required | Current Child Name Server of the specified Order. | 
| new-cns | String | Required | New Child Name Server that you want to associate with the Order. | 
HTTP Method
POST
Example Test URL Request
https://test.httpapi.com/api/domains/modify-cns-name.json?auth-userid=0&api-key=key&order-id=0&old-cns=ns1.domain.com&new-cns=ns2.domain.com 
Response
Returns a hash map containing the below details:
- 
Domain Name (description) 
- 
Order ID of the Domain Registration Order (entityid) 
- 
Action Type (actiontype) 
- 
Description of the Child Name Server Host Name Modification Action (actiontypedesc) 
- 
Action ID of the Child Name Server Host Name Modification Action (eaqid) 
- 
Child Name Server Host Name Modification Action Status (actionstatus) 
- 
Description of the Child Name Server Host Name Modification Action Status (actionstatusdesc) 
In case of any errors, a status key with value as ERROR alongwith an error message will be returned.
