API documentation
Delete DNS Rec??d
Delete a specific DNS rec??d by ID
??? ???????
application-json
?????
dns
???????
delete_record
?????? ?????
| ??? ??????? | ????? | ????? | ???? |
|---|---|---|---|
| domain | ????? ???? (3-60) | ??? ?????? | example.com |
| id | ??? ???? | DNS rec??d ID to delete | 12345 |
?????? ?????????
| ??? ??????? | ????? | ????? |
|---|---|---|
| id | ??? ???? | DNS rec??d ID |
???? ?????
{
curl http://api.www.gtlpnf.cn/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 ??? ??? ????
dns0 








