דומיין 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