Delete Resolution Type Record
Delete resolution records for domain names of resolution types
Request URL
/api/resolution/delete/type
Request Parameter
Field |
Parameter |
Type |
Required |
Description |
domain |
ym |
String |
Yes |
domain name eg: example.com |
record type |
lx |
String |
Yes |
Type, A|AAAA|CNAME|TXT|URL |
Request Demo
{
"appid": "1xxxxxxxxx7",
"gntime": 1692889271,
"ym": "example.com",
"lx": "TXT",
"gntoken": "0B7A1292FA1B130445940E8E476585E2"
}
Response Data
Field |
Parameter |
Type |
Description |
return code |
code |
Integer |
1:return successfully -1:return failed |
return description |
msg |
String |
return the description of request operation |
return data |
data |
Object |
return the requested operation result data |
Return Data
Field |
Parameter |
Description |
success data |
data.ok |
|
error data |
data.err |
|
success count |
data.oksl |
1 |
error count |
data.errsl |
1 |
Response Demo
{
"code": 1,
"msg": "delete success",
"data": {
"ok": [
{
"code": 1,
"msg": "Delete record successful",
"data": {
"ym": "example.com",
"jxid": 12345,
"zjt": "www",
"lx": "AAAA",
"jxz": "11:11:11:1:111:12:12:1",
"mx": "0",
"ttl": "600"
}
}
],
"oksl": 1,
"err": [
{
"code": -1,
"msg": "Failed to delete record, request parameter error",
"data": {
"ym": "example.com",
"jxid": 6305,
}
}
],
"errsl": 1
}
}