Domen API - Domen Qeydiyyatı API - ICANN Qeydiyyatçı API - White Label Domen Service

Start Building with NiceNIC Domen API v2

API access is free fvə ya every active NiceNIC user. Xeyr reseller upgrade is required. Configure sizin API credentials, make a safe test request, then add the domen, DNS, billing, compliance və ya WHMCS wvə yakflows sizin application needs.

Uşaq Ad Serverini Yenilə

Mövcud DNS serverinin IP ünvanını yeniləyin

Content-Type application/json
kateqoriya nameserverhost
əməl update

Sorğu parametrləri

Parametrin adı Növ Təsvir et Nümunə
domain Sətr Domen adı example.com
dns Sətr (3-30) DNS server adı (domenlə uyğun olmalıdır) ns1.example.com
ip Sətr Yeni DNS server IP ünvanı 192.168.1.2

Cavab parametrləri

Parametrin adı Növ Təsvir et
dns Sətr DNS server adı
ip Sətr Yenilənmiş DNS server IP ünvanı

Sorgu Nümunəsi

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

Nəticənin qayıdışı

0 OK Uğurlu cavab
                                        
{
    "code": 0,
    "msg" : "success",
    "data" : {
        {
            "dns": "ns1.example.com",
            "ip": "192.168.1.2"
        }        
    }
}
400 Yanlış Sorğu
                                        
{
    "code": 400,
    "msg" : "Request parameter error",
}
Müəllif Hüququ © 2006–2026 NICENIC INTERNATIONAL GROUP CO., LIMITED. Bütün Hüquqlar Qorunur. · U.S. Affiliate: NICENIC LLC