Skip to main content
POST
Create a new network volume

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Create a new network volume.

dataCenterId
string
required

The Runpod data center ID where the created network volume is located.

Example:

"EU-RO-1"

name
string
required

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

Example:

"my network volume"

size
integer
required

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

Required range: 0 <= x <= 4000
Example:

50

Response

Successful operation.

dataCenterId
string

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

Example:

"EU-RO-1"

id
string

A unique string identifying a network volume.

Example:

"agv6w2qcg7"

name
string

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

Example:

"my network volume"

size
integer

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

Example:

50