---
title: "Resize the VM"
method: PUT
path: "/vm.resize"
---

# Resize the VM

`PUT /vm.resize`

## Request body

- VmResize
  - `desired_vcpus` integer
  - `desired_ram` integer — desired memory ram in bytes
  - `desired_balloon` integer — desired balloon size in bytes

## Response `204`

The VM instance was successfully resized.

## Other responses

- `404` — The VM instance could not be resized because it is not created.
- `429` — The VM instance could not be resized because a cpu removal is still pending.

---

[API](https://skmtc.dev/kata-containers/apis/cloud-hypervisor-api.md) · [All operations](https://skmtc.dev/kata-containers/apis/cloud-hypervisor-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/kata-containers/cloud-hypervisor-api/revisions/c30c01a9fb80/schema)
