Domain Reseller, Domain Reseller Program, Domain Name Resellers Unlmited Web Hosting Plan Become a Domain Reseller Become a Domain Reseller

Modifying Name Servers

Description

Modifies the Name Servers of 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 Name Servers you want to modify.
ns Array of Strings Required New Name Servers.

HTTP Method

POST

Example Test URL Request

https://test.httpapi.com/api/domains/modify-ns.json?auth-userid=0&api-key=key&order-id=0&ns=ns1.domain.asia&ns=ns2.domain.asia

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 Name Server Modification Action (actiontypedesc)

  • Action ID of the Name Server Modification Action (eaqid)

  • Name Server Modification Action Status (actionstatus)

  • Description of the Name Server Modification Action Status (actionstatusdesc)

In case of any errors, a status key with value as ERROR alongwith an error message will be returned.