Batch deletion of records
Delete multiple records of domain name
Request URL
/api/resolution/delete/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 name |
ym |
String |
Yes |
域名,gname.com |
Record ID Sets |
jxid |
String |
Yes |
Record IDs, separated by multiple [,] |
Request Demo
{
"appid": "1xxxxxx",
"gntime": 1634500002,
"jxid": "8xxxx1,5xxxx6",
"ym": "gname.com",
"gntoken": "A61C8432AC6F3C8EAAB2662077FADB52"
}
Response Data
Field |
Parameter |
Type |
Description |
response code |
code |
Integer |
1:successed -1:failed |
response message |
msg |
String |
Response message |
response data |
data |
Object |
Response data |
Return Data
Field |
Parameter |
Description |
Delete successfully record set |
ok |
|
Number of successfully deleted records |
oksl |
|
Delete failed record set |
err |
|
Number of failed deleted records |
errsl |
|
Response Demo
{
"code": 1,
"msg": "succeed",
"data": {
"ok": [
{
"jxid": 8xxxxx1,
"msg": "succeed"
}
],
"oksl": 1,
"err": [
{
"jxid": 5xxxxx6,
"msg": "Sorry, deletion failed, record does not exist"
}
],
"errsl": 1
}
}