Loading...

Knowledge Base

Modify Child Name Server IP Addresses Using the API

When you want to update the IP address of a child name server for a domain registration order. This article explains how to modify the associated IP address of a child name server using the API and retrieve the action status details.

Modifying a Child Name Server IP Address

Description

Modifies the IP address associated with the specified Child Name Server of the specified Domain Registration Order.

Parameters

NameData TypeRequired / OptionalDescription
auth-useridIntegerRequiredAuthentication Parameter
api-keyStringRequiredAuthentication Parameter
order-idIntegerRequiredOrder Id of the Domain Registration Order whose Child Name Server IP you want to change.
cnsStringRequiredName of the Child Name Server whose IP you want to change.
old-ipStringRequiredCurrently associated IP address with the specified Child Name Server.
new-ipStringRequiredNew IP address that you want to associate with the specified Child Name Server.

HTTP Method

POST

Example Test URL Request

https://test.httpapi.com/api/domains/modify-cns-ip.json?auth-userid=0&api-key=key&order-id=0&cns=ns1.domain.com&old-ip=0.0.0.0&new-ip=1.1.1.1

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

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

  • Child Name Server IP Modification Action Status (actionstatus)

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

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

 
 

Loading...