API documentation
?? Child ????server
?? a ?????????ed DNS server
Content-Type
application-json
????????
nameserverhost
????????
delete
???????????????
| ??????????????? | ?????? | ???????? | ???????? |
|---|---|---|---|
| domain | ????? | ????????? | example.com |
| dns | ????? (3-30) | DNS server name (must match ?????) | ns1.example.com |
?????????????????????
| ??????????????? | ?????? | ???????? |
|---|---|---|
| dns | ????? | ??d DNS server name |
????????????
{
curl https://api.nicenic.net/v2/?category=nameserverhost&action=delete&domain={domain}&dns={dns}
-H "Authorization: username:api_secret"
-H "Content-Type: application/json"
}
?????????????????
0 OK
?????????????
{
"code": 0,
"msg" : "success",
"data" : {
{
"dns": "ns1.example.com"
}
}
}
400 ??????????????
{
"code": 400,
"msg" : "Request parameter error",
}






