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.
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
}
}Was this page helpful?