curl --request PUT \
--url https://api.bunny.net/mc/apps/{appId}/region-settings \
--header 'AccessKey: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"allowedRegionIds": [
"DE",
"UK",
"US"
],
"requiredRegionIds": [
"DE"
],
"maxAllowedRegions": 5,
"nodeSelectors": {}
}
'{
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>",
"errors": [
{
"field": "<string>",
"message": "<string>"
}
]
}Updates the region settings for an application, including allowed regions, required regions, and maximum allowed regions.
curl --request PUT \
--url https://api.bunny.net/mc/apps/{appId}/region-settings \
--header 'AccessKey: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"allowedRegionIds": [
"DE",
"UK",
"US"
],
"requiredRegionIds": [
"DE"
],
"maxAllowedRegions": 5,
"nodeSelectors": {}
}
'{
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>",
"errors": [
{
"field": "<string>",
"message": "<string>"
}
]
}Please enter a valid personal API key.
The ID of the application
Region settings to update
Region settings updated successfully.
Was this page helpful?