---
title: "Update Application Autoscaling"
method: PUT
path: "/apps/{appId}/autoscaling"
tags: ["AutoscalingSettings"]
---

# Update Application Autoscaling

`PUT /apps/{appId}/autoscaling`

## Request

- Base URL: `https://api.bunny.net/mc`
- URL: `https://api.bunny.net/mc/apps/{appId}/autoscaling`
- Auth: API key in header `AccessKey`
- TypeScript: <https://skmtc.dev/bunny/apis/magic-containers-api/docs/apps/:appId/autoscaling/put.ts> (a function with typed inputs; its response is checked against the schema)

Updates the autoscaling settings for an application, including minimum and maximum replica counts.

## Path parameters

- `appId` string, required

## Request body

- AutoscalingSettings
  - `min` integer, required
  - `max` integer, required

## Response `200`

Autoscaling settings updated successfully.

## Other responses

- `400`: Invalid input or validation error.
- `401`: User is unauthorized.
- `403`: User has invalid card or is suspended.
- `404`: Application not found.
- `422`: Unprocessable entity.
- `500`: Unexpected server error.

## Changes

- **2026-04-26** `62fb48c758fb`: 10 info
  - added the optional property `id` to the response with the `400` status
  - added the optional property `id` to the response with the `403` status
  - added the optional property `id` to the response with the `404` status
  - added the optional property `id` to the response with the `422` status
  - …6 more

[Operation history](https://skmtc.dev/bunny/apis/magic-containers-api/changes/apps/:appId/autoscaling/put.md)

---

[API](https://skmtc.dev/bunny/apis/magic-containers-api.md) - [All operations](https://skmtc.dev/bunny/apis/magic-containers-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bunny/apis/magic-containers-api/revisions/7bb58a0591b0?raw)
