API documentation
?? DNS Rec????d
?? a specific DNS rec????d by ID
Content-Type
application-json
????????
dns
????????
delete_record
???????????????
| ??????????????? | ?????? | ???????? | ???????? |
|---|---|---|---|
| domain | ????? (3-60) | ????????? | example.com |
| id | ????????? | DNS rec????d ID to delete | 12345 |
?????????????????????
| ??????????????? | ?????? | ???????? |
|---|---|---|
| id | ????????? | DNS rec????d ID |
????????????
{
curl https://api.nicenic.net/v2/?category=dns&action=delete_record&domain={domain}&id={id}
-H "Authorization: username:api_secret"
-H "Content-Type: application/json"
}
?????????????????
0 OK
?????????????
{
"code": 0,
"msg" : "success",
"data" : {
{
"id": 12345
}
}
}
400 ??????????????
{
"code": 400,
"msg" : "Request parameter error",
}






