Skip to main content
PUT
/
apps
/
{appId}
/
region-settings
Update Application Region Settings
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>"
    }
  ]
}

Authorizations

AccessKey
string
header
required

Please enter a valid personal API key.

Path Parameters

appId
string
required

The ID of the application

Body

Region settings to update

allowedRegionIds
string[] | null
Example:
["DE", "UK", "US"]
requiredRegionIds
string[] | null
Example:
["DE"]
maxAllowedRegions
integer<int32> | null
Example:

5

nodeSelectors
object

Response

Region settings updated successfully.