โดเมน API - จดทะเบียนโดเมน API - ICANN ผู้รับจดทะเบียน API - White Label โดเมน Service

Start Building with NiceNIC โดเมน API v2

API access is free fหรือ every active NiceNIC user. ไม่ reseller upgrade is required. Configure ของคุณ API credentials, make a safe test request, then add the โดเมน, DNS, billing, compliance หรือ WHMCS wหรือkflows ของคุณ application needs.

ลบเนมเซิร์ฟเวอร์ย่อย

ลบ a จดทะเบียนed DNS server

Content-Type application/json
หมวดหมู่ nameserverhost
การทำงาน delete

พารามิเตอร์คำขอ

ชื่อพารามิเตอร์ ประเภท คำอธิบาย ตัวอย่าง
domain สตริง ชื่อโดเมน example.com
dns สตริง (3-30) ชื่อเซิร์ฟเวอร์ DNS (ต้องตรงกับโดเมน) ns1.example.com

พารามิเตอร์การตอบกลับ

ชื่อพารามิเตอร์ ประเภท คำอธิบาย
dns สตริง ชื่อเซิร์ฟเวอร์ DNS ที่ถูกลบ

ตัวอย่างคำขอ

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

ผลลัพธ์ที่ส่งกลับ

0 OK ตอบกลับสำเร็จ
                                        
{
    "code": 0,
    "msg" : "success",
    "data" : {
        {
            "dns": "ns1.example.com"
        }        
    }
}
400 คำขอไม่ถูกต้อง
                                        
{
    "code": 400,
    "msg" : "Request parameter error",
}
ลิขสิทธิ์ © 2006–2026 NICENIC INTERNATIONAL GROUP CO., LIMITED. สงวนลิขสิทธิ์ทั้งหมด. · U.S. Affiliate: NICENIC LLC