النطاق 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

نوع المحتوى 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 الدولية المحدودة. كل الحقوق محفوظة. · U.S. Affiliate: NICENIC LLC