---
title: "Update a network volume"
method: PATCH
path: "/v2/network-volumes/{id}"
tags: ["Network Volumes"]
---

# Update a network volume

`PATCH /v2/network-volumes/{id}`

Updates mutable fields on a network volume. Only provided fields are changed.
Note: `size` may only increase; attempts to reduce size will be rejected.

## Request body

- UpdateNetworkVolumeRequest — Only the provided fields are updated. At least one field must be present; an empty body is rejected.
  - `name` string — New human-readable name
  - `size` integer — New size in GB. Must be greater than or equal to the current size — network volume storage cannot be reduced.

## Response `200`

OK

- 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 request body or size decrease attempted
- `401` — Authentication failed because the bearer token is missing, malformed, expired, or invalid.
- `403` — The bearer token is valid, but it does not grant access to the requested resource or action.
- `404` — The requested resource was not found or is not accessible to the caller.
- `422` — The request body or parameters were syntactically valid but failed validation.
- `429` — The caller exceeded its per-user rate limit. The response identifies the window that was exceeded and how long to wait. The `RateLimit` and `RateLimit-Policy` headers (per the IETF ratelimit-headers draft) also accompany successful responses, so clients can track quota before a 429.
- `default` — Error

---

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