cURL
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": [ { "message": "<string>", "field": "<string>" } ], "id": "<string>" }
Updates the autoscaling settings for an application, including minimum and maximum replica counts.
Please enter a valid personal API key.
The ID of the application
Autoscaling settings to update
1 <= x <= 1000
1
10
Autoscaling settings updated successfully.
Was this page helpful?