POST
https://rest.runpod.io/v1
/
networkvolumes
curl --request POST \
  --url https://rest.runpod.io/v1/networkvolumes \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "dataCenterId": "EU-RO-1",
  "name": "my network volume",
  "size": 50
}'
{
  "dataCenterId": "EU-RO-1",
  "id": "agv6w2qcg7",
  "name": "my network volume",
  "size": 50
}

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.

The body is of type object.

Response

200
application/json

Successful operation.

The response is of type object.