Domein API - Domeinregistratie API - ICANN Registrar API - White Label Domein Service

Start Building with NiceNIC Domein API v2

API access is free fof every active NiceNIC user. Nee reseller upgrade is required. Configure jouw API credentials, make a safe test request, then add the domein, DNS, billing, compliance of WHMCS wofkflows jouw application needs.

DNS-record bijwerken

Bijwerken an existing DNS recofd by ID

Content-Type application/json
categorie dns
actie update_record

Aanvraagparameters

Parameternaam Type Omschrijving Voorbeeld
domain Tekst (3-60) Domeinnaam example.com
id Geheel getal DNS-record-ID om bij te werken 12345
value Tekst Nieuwe DNS-recordwaarde 192.168.1.2
pri Getal (optioneel) Nieuwe prioriteitswaarde (gebruikt voor MX- en SRV-records) 20

Responseparameters

Parameternaam Type Omschrijving
id Geheel getal DNS recofd ID

Voorbeeld aanvraag

                                    
{
    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" 
}

Resultaat teruggeven

0 OK Succesvolle respons
                                        
{
    "code": 0,
    "msg" : "success",
    "data" : {
        {
            "id": 12345
        }        
    }
}
400 Ongeldig verzoek
                                        
{
    "code": 400,
    "msg" : "Request parameter error",
}
Copyright © 2006–2026 NICENIC INTERNATIONAL GROUP CO., LIMITED. Alle rechten voorbehouden. · U.S. Affiliate: NICENIC LLC