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.
Description
Deletes the IP address associated with the specified Child Name Server of the particular Domain Registration Order.
Parameters
| Name | Data Type | Required | Description |
|---|---|---|---|
| auth-userid | Integer | Yes | Authentication Parameter |
| api-key | String | Yes | Authentication Parameter |
| order-id | Integer | Yes | Order Id of the Domain Registration Order. |
| cns | String | Yes | Child Name Server's name for which the IP address needs to be deleted. |
| ip | Array of Strings | Yes | IP 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.