v1

latestOpenAPI 3.1.02026-07-2676123203.9 KB
Network Volumes

Update a network volume

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

patch/v2/network-volumes/{id}

Request body

namestring

New human-readable name

sizeinteger

New size in GB. Must be greater than or equal to the current size — network volume storage cannot be reduced.

Example request

{
  "name": "renamed-volume",
  "size": 100
}

Response

OK

dataCenterIdstring

The Runpod data center ID where a network volume is located.

idstring

A unique string identifying a network volume.

namestring

A user-defined name for a network volume. The name does not need to be unique.

sizeinteger

The amount of disk space, in gigabytes (GB), allocated to a network volume.

Example response

{
  "dataCenterId": "EU-RO-1",
  "id": "agv6w2qcg7",
  "name": "my network volume",
  "size": 50
}