Domeni API - Regjistrimi i domenit API - ICANN Regjistrues API - White Label Domeni Service

Start Building with NiceNIC Domeni API v2

API access is free fose every active NiceNIC user. Jo reseller upgrade is required. Configure tënd API credentials, make a safe test request, then add the domain, DNS, billing, compliance ose WHMCS wosekflows tënd application needs.

Përditëso Regjistrimin DNS

Përditëso an existing DNS recosed by ID

Lloji i përmbajtjes application/json
kategori dns
veprim update_record

Parametrat e kërkesës

Emri i parametrave Lloji Përshkrim Shembull
domain Varës (3-60) Emri i domain-it example.com
id Numër i plotë ID-ja e rekordit DNS për të përditësuar 12345
value Varës Vlera e re e rekordit DNS 192.168.1.2
pri Numër (Opsionale) Vlera e re e prioritetit (përdoret për rekordet MX dhe SRV) 20

Parametrat e përgjigjes

Emri i parametrave Lloji Përshkrim
id Numër i plotë DNS recosed ID

Shembull kërkese

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

Kthe rezultatin

0 OK Përgjigje e suksesshme
                                        
{
    "code": 0,
    "msg" : "success",
    "data" : {
        {
            "id": 12345
        }        
    }
}
400 Kërkesë e gabuar
                                        
{
    "code": 400,
    "msg" : "Request parameter error",
}
Të drejtat e autorit © 2006–2026 NICENIC INTERNATIONAL GROUP CO., LIMITED. Të gjitha të drejtat e rezervuara. · U.S. Affiliate: NICENIC LLC