API Services

With the API, you can engage in domain name registration and account management! Our API supports domain search, registration, renewal, dropcatch, and the use of your own software and servers, among other functions. You can easily configure domain name servers, select renewals, and create folders for your domains.

Batch clear record

Can be used to batch clear resolution records for multiple domain names

Request URL
/api/resolution/clear/bulk
Request Method
POST
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"
            }
        ]
    }
}

Current system time:2024-12-25 02:16:51(UTC+8) Privacy PolicyRegistrants' Benefits And Responsibilities SpecificationRegistrant Educational Information

Copyright© 2024 GNAME.COM. All rights reserved.