API documentation
Elimina Child Nomeserver
Rimuovi a registrareed DNS server
Content-Type
application-json
categoria
nameserverhost
azione
delete
Parametri della richiesta
| Nome parametro | Tipo | Descrizione | Esempio |
|---|---|---|---|
| domain | Stringa | Nome dominio | example.com |
| dns | Stringa (3-30) | DNS server name (must match dominio) | ns1.example.com |
Parametri di risposta
| Nome parametro | Tipo | Descrizione |
|---|---|---|
| dns | Stringa | Eliminad DNS server name |
Esempio di richiesta
{
curl https://api.nicenic.net/v2/?category=nameserverhost&action=delete&domain={domain}&dns={dns}
-H "Authorization: username:api_secret"
-H "Content-Type: application/json"
}
Risultato restituito
0 OK
Risposta riuscita
{
"code": 0,
"msg" : "success",
"data" : {
{
"dns": "ns1.example.com"
}
}
}
400 Richiesta non valida
{
"code": 400,
"msg" : "Request parameter error",
}






