API documentation
Alt Alan Adı Sunucusunu Sil
Kaldır a kayıt oled DNS server
Content-Type
application-json
kategori
nameserverhost
işlem
delete
İstek parametreleri
| Parametre Adı | Tür | Açıklama | Örnek |
|---|---|---|---|
| domain | String | Alan adı | example.com |
| dns | String (3-30) | DNS server name (must match domain) | ns1.example.com |
Yanıt parametreleri
| Parametre Adı | Tür | Açıklama |
|---|---|---|
| dns | String | Sild DNS server name |
İstek Örneği
{
curl https://api.nicenic.net/v2/?category=nameserverhost&action=delete&domain={domain}&dns={dns}
-H "Authorization: username:api_secret"
-H "Content-Type: application/json"
}
Dönüş sonucu
0 OK
Başarılı yanıt
{
"code": 0,
"msg" : "success",
"data" : {
{
"dns": "ns1.example.com"
}
}
}
400 Hatalı İstek
{
"code": 400,
"msg" : "Request parameter error",
}






