curl --request GET \
--url https://api.bunny.net/dnszone/{zoneId}/records/scan \
--header 'AccessKey: <api-key>'{
"JobId": "<string>",
"ZoneId": 123,
"Domain": "<string>",
"AccountId": "<string>",
"Status": 0,
"CreatedAt": "2023-11-07T05:31:56Z",
"CompletedAt": "2023-11-07T05:31:56Z",
"Records": [
{
"Name": "<string>",
"Type": 0,
"Ttl": 123,
"Value": "<string>",
"Priority": 123,
"Weight": 123,
"Port": 123,
"IsProxied": true
}
],
"Error": "<string>"
}curl --request GET \
--url https://api.bunny.net/dnszone/{zoneId}/records/scan \
--header 'AccessKey: <api-key>'{
"JobId": "<string>",
"ZoneId": 123,
"Domain": "<string>",
"AccountId": "<string>",
"Status": 0,
"CreatedAt": "2023-11-07T05:31:56Z",
"CompletedAt": "2023-11-07T05:31:56Z",
"Records": [
{
"Name": "<string>",
"Type": 0,
"Ttl": 123,
"Value": "<string>",
"Priority": 123,
"Weight": 123,
"Port": 123,
"IsProxied": true
}
],
"Error": "<string>"
}API Access Key authorization header
The DNS Zone ID
Latest DNS record scan job details
0 = Pending 1 = InProgress 2 = Completed 3 = Failed
0, 1, 2, 3 Show child attributes
Was this page helpful?