API documentation
Xóa(chǎn) Child Tênserver
Xóa(chǎn) a ??ng kyed DNS server
Content-Type
application-json
Danh m?c
nameserverhost
Hành ??ng
delete
Tham s? yêu c?u
| Tên tham s? | Ki?u | M? t? | Ví d? |
|---|---|---|---|
| domain | Chu?i | Tên domain | example.com |
| dns | Chu?i (3-30) | DNS server name (must match tên mi?n) | ns1.example.com |
Tham s? ph?n h?i
| Tên tham s? | Ki?u | M? t? |
|---|---|---|
| dns | Chu?i | Xóa(chǎn)d DNS server name |
Ví d? yêu c?u
{
curl https://api.nicenic.net/v2/?category=nameserverhost&action=delete&domain={domain}&dns={dns}
-H "Authorization: username:api_secret"
-H "Content-Type: application/json"
}
K?t qu? tr? v?
0 OK
Ph?n h?i thành c?ng
{
"code": 0,
"msg" : "success",
"data" : {
{
"dns": "ns1.example.com"
}
}
}
400 Yêu c?u kh?ng h?p l?
{
"code": 400,
"msg" : "Request parameter error",
}






