cURL
curl --request POST \ --url https://api.bunny.net/dnszone/records/scan \ --header 'AccessKey: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "ZoneId": 123, "Domain": "<string>" } '
{ "JobId": "<string>", "Status": 0 }
API Access Key authorization header
The ID of the DNS Zone to scan. Either ZoneId or Domain must be provided, but not both.
The domain name to scan. Either ZoneId or Domain must be provided, but not both. Can be used even before creating the DNS zone.
DNS record scan job triggered successfully
0 = Pending 1 = InProgress 2 = Completed 3 = Failed
0
1
2
3
Was this page helpful?