API documentation
Kustuta lapse nimeserver
Eemalda a registreeried DNS server
Content-Type
application-json
kategooria
nameserverhost
tegevus
delete
Päringu parameetrid
| Parameetri nimi | Tüüp | Kirjeldus | Näide |
|---|---|---|---|
| domain | Tekstijada | Domeeninimi | example.com |
| dns | Tekstijada (3-30) | DNS server name (must match domeen) | ns1.example.com |
Vastusparameetrid
| Parameetri nimi | Tüüp | Kirjeldus |
|---|---|---|
| dns | Tekstijada | Kustutad DNS server name |
päringu näide
{
curl https://api.nicenic.net/v2/?category=nameserverhost&action=delete&domain={domain}&dns={dns}
-H "Authorization: username:api_secret"
-H "Content-Type: application/json"
}
tagastuse tulemus
0 OK
Õnnestunud vastus
{
"code": 0,
"msg" : "success",
"data" : {
{
"dns": "ns1.example.com"
}
}
}
400 Vigane päring
{
"code": 400,
"msg" : "Request parameter error",
}






