curl --request PUT \
--url https://api.bunny.net/mc/apps/{appId}/autoscaling \
--header 'AccessKey: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"min": 1,
"max": 10
}
'{
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>",
"errors": [
{
"field": "<string>",
"message": "<string>"
}
]
}Updates the autoscaling settings for an application, including minimum and maximum replica counts.
curl --request PUT \
--url https://api.bunny.net/mc/apps/{appId}/autoscaling \
--header 'AccessKey: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"min": 1,
"max": 10
}
'{
"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
Autoscaling settings to update
Autoscaling settings updated successfully.
Was this page helpful?