v1

latestOpenAPI 3.0.32026-07-133733150.4 KB
network volumes

Update a network volume

Update a network volume.

patch/networkvolumes/{networkVolumeId}

Path parameters

networkVolumeIdstring required

ID of network volume that needs to be updated.

Request body

namestring

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

sizeinteger

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.

Example request

{
  "name": "my network volume",
  "size": 50
}

Response

Successful operation.

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
}