Domain Reseller API - Domain Registration API - ICANN Registrar API - White Label Domain Service

Start Your Domain Reseller Business with Direct Registrar Access

ICANN-accredited registrar since 2006 with global TLD coverage, reseller-level pricing, and no annual or membership fees. Connect once to automate domain registration, renewal, transfer, DNS, and WHMCS workflows—with batch tools, lifetime WHOIS privacy for most eligible extensions, and infrastructure built to scale. Activate Reseller API Access

API documentation

Delete Child Nameserver

Remove a registered DNS server

Content-Type application-json
category nameserverhost
action delete

Request parameters

Parameter Name Type Describe Example
domain String Domain name example.com
dns String (3-30) DNS server name (must match domain) ns1.example.com

Response parameters

Parameter Name Type Describe
dns String Deleted DNS server name

Request Example

                                    
{
    curl https://api.nicenic.net/v2/?category=nameserverhost&action=delete&domain={domain}&dns={dns} 
      -H "Authorization: username:api_secret" 
      -H "Content-Type: application/json" 
}

Return result

0 OK Successful response
                                        
{
    "code": 0,
    "msg" : "success",
    "data" : {
        {
            "dns": "ns1.example.com"
        }        
    }
}
400 Bad Request
                                        
{
    "code": 400,
    "msg" : "Request parameter error",
}
Copyright © 2006-2026 NICENIC INTERNATIONAL GROUP CO., LIMITED All Rights Reserved