cURL
curl --request GET \ --url https://api.bunny.net/mc/regions/optimal \ --header 'AccessKey: <api-key>'
{ "region": { "id": "<string>", "name": "<string>", "group": "<string>", "hasAnycastSupport": true, "hasCapacity": true } }
Returns the optimal base region for deployment based on the user’s CDN server token location.
Please enter a valid personal API key.
Optimal base region was successfully retrieved.
Region model
Show child attributes
Was this page helpful?