API documentation
Smazat Child Jménoserver
Odstranit a zaregistrovated DNS server
Content-Type
application-json
kategorie
nameserverhost
akce
delete
Parametry ?ádosti
| Název parametru | Typ | Popis | P?íklad |
|---|---|---|---|
| domain | ?etězec | Doménové jméno | example.com |
| dns | ?etězec (3-30) | DNS server name (must match doména) | ns1.example.com |
Parametry odpovědi
| Název parametru | Typ | Popis |
|---|---|---|
| dns | ?etězec | Smazatd DNS server name |
Ukázka po?adavku
{
curl https://api.nicenic.net/v2/?category=nameserverhost&action=delete&domain={domain}&dns={dns}
-H "Authorization: username:api_secret"
-H "Content-Type: application/json"
}
Vráceny vysledek
0 OK
úspě?ná odpově?
{
"code": 0,
"msg" : "success",
"data" : {
{
"dns": "ns1.example.com"
}
}
}
400 Neplatny po?adavek
{
"code": 400,
"msg" : "Request parameter error",
}






