---
title: "Resize a memory zone"
method: PUT
path: "/vm.resize-zone"
---

# Resize a memory zone

`PUT /vm.resize-zone`

## Request body

- VmResizeZone
  - `id` string
  - `desired_ram` integer — desired memory zone size in bytes

## Response `204`

The memory zone was successfully resized.

## Other responses

- `500` — The memory zone could not be resized.

## Changes

- **2020-09-24** `2d6d1d9ec54e` — 1 info
  - endpoint added
- **2020-04-28** `bf56946c8349` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/kata-containers/apis/cloud-hypervisor-api/changes/vm.resize-zone/put.md)

---

[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)
