---
title: "Update a network volume"
method: POST
path: "/networkvolumes/{networkVolumeId}/update"
tags: ["network volumes"]
---

# Update a network volume

`POST /networkvolumes/{networkVolumeId}/update`

Update a network volume - synonym for PATCH /networkvolumes/{networkVolumeId}.

## Path parameters

- `networkVolumeId` string, required

## Request body

- NetworkVolumeUpdateInput
  - `name` string — A user-defined name for the network volume. The name does not need to be unique.
  - `size` integer — The amount of disk space, in gigabytes (GB), which will be allocated to the network volume after the update. Must be greater than the current size of the network volume.

## Response `200`

Successful operation.

- NetworkVolume
  - `dataCenterId` string — The Runpod data center ID where a network volume is located.
  - `id` string — A unique string identifying a network volume.
  - `name` string — A user-defined name for a network volume. The name does not need to be unique.
  - `size` integer — The amount of disk space, in gigabytes (GB), allocated to a network volume.

## Other responses

- `400` — Invalid input.

---

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