---
title: "Extend Volume"
method: PUT
path: "/apps/{app_name}/volumes/{volume_id}/extend"
tags: ["Volumes"]
---

# Extend Volume

`PUT /apps/{app_name}/volumes/{volume_id}/extend`

Extend a volume's size within an app using the details provided in the request body.

## Path parameters

- `app_name` string, required
- `volume_id` string, required

## Request body

- ExtendVolumeRequest
  - `size_gb` integer

## Response `200`

OK

- ExtendVolumeResponse
  - `needs_restart` boolean
  - `volume` Volume
    - `attached_alloc_id` string
    - `attached_machine_id` string
    - `auto_backup_enabled` boolean
    - `block_size` integer
    - `blocks` integer
    - `blocks_avail` integer
    - `blocks_free` integer
    - `bytes_total` integer
    - `bytes_used` integer
    - `created_at` string
    - `encrypted` boolean
    - `fstype` string
    - `host_status` 'ok' | 'unknown' | 'unreachable'
    - `id` string
    - `name` string
    - `region` string
    - `size_gb` integer
    - `snapshot_retention` integer
    - `state` string
    - `type` 'local' | 'cache'
    - `zone` string

---

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