Loading...

Knowledge Base

Delete Child Name Server IP Addresses via API

When you want to remove an IP address associated with a Child Name Server for a domain registration order using the API. This article explains the required parameters, API request format, and response details for deleting Child Name Server IP addresses.

Delete Child Name Servers

Description

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

Parameters

NameData TypeRequiredDescription
auth-useridIntegerYesAuthentication Parameter
api-keyStringYesAuthentication Parameter
order-idIntegerYesOrder Id of the Domain Registration Order.
cnsStringYesChild Name Server's name for which the IP address needs to be deleted.
ipArray of StringsYesIP address that needs to be deleted.

HTTP Method

POST

Example Test URL Request

https://test.httpapi.com/api/domains/delete-cns-ip.xml?auth-userid=0&api-key=key&order-id=0&cns=ns1.domain.asia&ip=1.2.3.4

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

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

  • Child Name Server IP Deletion Action Status (actionstatus)

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

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