---
title: "Resize a stopped VM's disk"
method: POST
path: "/v1/vms/{id}/resize-disk"
tags: ["VMs"]
---

# Resize a stopped VM's disk

`POST /v1/vms/{id}/resize-disk`

Beta: the new disk size is validated and recorded, but the disk is not yet resized on the node.

## Path parameters

- `id` string, required

## Request body

- ResizeDiskRequest
  - `newSizeGb` integer, required

## Response `204`

Resized

## Other responses

- `400` — The request is invalid
- `401` — Missing or invalid API key
- `403` — API key lacks the required scope
- `404` — Resource not found

---

[API](https://skmtc.net/openrelay/apis/openrelay-api.md) · [All operations](https://skmtc.net/openrelay/apis/openrelay-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openrelay/openrelay-api/versions/4c42fd61ed41/schema)
