cURL
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 }
Create a new network volume.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The body is of type object.
object
Successful operation.
The response is of type object.
Was this page helpful?