Alt Ad Sunucusunu Sil
Kayıtlı bir DNS sunucusunu kaldırın
Content-Type
application/json
kategori
nameserverhost
action
delete
İstek parametreleri
| Parametre Adı | Tür | Açıkla | Örnek |
|---|---|---|---|
| domain | Dize | Alan adı | example.com |
| dns | Dize (3-30) | DNS sunucu adı (alan adıyla eşleşmelidir) | ns1.example.com |
Yanıt parametreleri
| Parametre Adı | Tür | Açıkla |
|---|---|---|
| dns | Dize | Silinen DNS sunucusu adı |
İ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önen sonuç
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",
}






