Batch clear record
Can be used to batch clear resolution records for multiple domain names
Request URL
/api/resolution/clear/bulk
Request Method
Request Parameter
Field |
Parameter |
Type |
Required |
Description |
APPID |
appid |
String |
Yes |
Application Client Id |
Timestamp |
gntime |
String |
Yes |
The current UNIX timestamp |
Signature |
gntoken |
String |
Yes |
Signature string. For details, please refer to the Signature Method page. |
domain list |
ymlb |
String |
Yes |
Multiple domain names separated by [\n] |
Request Demo
{
"appid": "1xxxxxxxxxx",
"gntime": 1635600176,
"ymlb": "gname.com\ngname.comm",
"gntoken": "25ED3BA29FA483C7EE7B8A2622437EFE"
}
Response Data
Field |
Parameter |
Type |
Description |
response code |
code |
Integer |
1:success -1:failed |
response message |
msg |
String |
response message |
response data |
data |
Object |
response data |
Return Data
Field |
Parameter |
Description |
success set |
ok |
|
failed set |
err |
|
Response Demo
{
"code": 1,
"msg": "There were 1 successful domain names and 1 failed domain names in this operation.",
"data": {
"ok": [
{
"ym": "gname.com",
"msg": "Operation success (gname.com), the domain name resolution records has been emptied."
}
],
"err": [
{
"ym": "gname.com",
"msg": "failed to clear all domain resolution records, reason: The record does not exist"
}
]
}
}