---
title: "Update Cluster Autoscaling"
method: PATCH
path: "/clusters/{cluster_id}/autoscaling"
tags: ["clusters"]
---

# Update Cluster Autoscaling

`PATCH /clusters/{cluster_id}/autoscaling`

## Request

- Base URL: `https://api.mengi.cloud` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mengi.cloud/clusters/{cluster_id}/autoscaling`
- Auth: none declared

Update autoscaling configuration for a cluster.

This endpoint allows enabling/disabling autoscaling and adjusting
min/max node counts. Changes take effect on the next scaling event.

Note: For vClusters (shared tier), autoscaling is managed at the
host cluster level, not per-vCluster.

## Path parameters

- `cluster_id` string, uuid, required

## Request body

- AutoscalingUpdate: Schema for updating cluster autoscaling configuration.
  - `autoscaling_enabled` boolean, required
  - `min_nodes` integer, required
  - `max_nodes` integer, required
  - `server_type` string, nullable

## Response `200`

Successful Response

- ClusterResponse
  - `id` string, uuid, required
  - `name` string, required
  - `provider` string, required
  - `region` string, required
  - `tier` 'shared' | 'dedicated' | 'production', required
  - `status` 'pending' | 'provisioning' | 'importing' | 'running' | 'upgrading' | 'error' | 'deleting', required
  - `organization_id` string, uuid, nullable
  - `kubernetes_version` string, nullable
  - `server_type` string, nullable
  - `argocd_url` string, nullable
  - `git_repo_url` string, nullable
  - `error_message` string, nullable
  - `status_message` string, nullable
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `provisioning_started_at` string, date-time, nullable
  - `provisioning_completed_at` string, date-time, nullable
  - `autoscaling_enabled` boolean
  - `min_nodes` integer, nullable
  - `max_nodes` integer, nullable
  - `target_kubernetes_version` string, nullable
  - `upgrade_available` boolean
  - `upgrade_available_version` string, nullable
  - `scheduled_upgrade_date` string, date-time, nullable
  - `scheduled_upgrade_id` string, uuid, nullable
  - `component_bundle_version` string
  - `multi_region` boolean
  - `region_locations` string[], nullable
  - `is_byoc` boolean
  - `cloud_credential_id` string, uuid, nullable
  - `is_imported` boolean
  - `is_management` boolean
  - `is_autopilot` boolean
  - `display_order` integer, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/mengi/apis/mengi-cloud.md) · [All operations](https://skmtc.dev/mengi/apis/mengi-cloud/llms.txt) · [OpenAPI document](https://skmtc.dev/mengi/apis/mengi-cloud/revisions/70dc8775b002?raw)
