---
title: "Resize volume"
method: PUT
path: "/volumes/{id}/resize"
tags: ["volumes"]
---

# Resize volume

`PUT /volumes/{id}/resize`

Initiates resizing a volume to the specified number of sectors.

## Path parameters

- `id` integer, required

## Request body

- ResizeVolumeRequest
  - `maxSectors` integer, required — New maximum number of sectors for the volume. Each sector is 4 MiB.

## Response `200`

Resize initiated.

---

[API](https://skmtc.dev/siafoundation/apis/hostd-api.md) · [All operations](https://skmtc.dev/siafoundation/apis/hostd-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/siafoundation/hostd-api/revisions/08ff756929fc/schema)
