curl --request GET \
--url https://api.bunny.net/dnszone/{zoneId}/records/scan \
--header 'AccessKey: <api-key>'{
"JobId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"ZoneId": 123,
"Domain": "<string>",
"AccountId": "<string>",
"Status": "Pending",
"CreatedAt": "2023-11-07T05:31:56Z",
"CompletedAt": "2023-11-07T05:31:56Z",
"Records": [
{
"IsProxied": true,
"Name": "<string>",
"Type": "A",
"Ttl": 123,
"Value": "<string>",
"Priority": 123,
"Weight": 123,
"Port": 123
}
],
"Error": "<string>"
}curl --request GET \
--url https://api.bunny.net/dnszone/{zoneId}/records/scan \
--header 'AccessKey: <api-key>'{
"JobId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"ZoneId": 123,
"Domain": "<string>",
"AccountId": "<string>",
"Status": "Pending",
"CreatedAt": "2023-11-07T05:31:56Z",
"CompletedAt": "2023-11-07T05:31:56Z",
"Records": [
{
"IsProxied": true,
"Name": "<string>",
"Type": "A",
"Ttl": 123,
"Value": "<string>",
"Priority": 123,
"Weight": 123,
"Port": 123
}
],
"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
Pending, InProgress, Completed, Failed "Pending"
Show child attributes
Was this page helpful?