POST
/
gpu-instance
/
openapi
/
v1
/
networkstorage
/
create
curl --request POST \
  --url https://api.novita.ai/gpu-instance/openapi/v1/networkstorage/create \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: <content-type>' \
  --data '{
  "clusterId": "<string>",
  "storageName": "<string>",
  "storageSize": 123
}'

Request Headers

Content-Type
string
required

Enum: application/json

Authorization
string
required

Bearer authentication format, for example: Bearer {{API Key}}.

Request Body

clusterId
string
required
storageName
string
required
storageSize
integer
required

Example

Request

curl --request POST \
  --url 'https://api.novita.ai/gpu-instance/openapi/v1/networkstorage/create' \
  --header 'Authorization: Bearer {{API Key}}' \
  --header 'Content-Type: application/json' \
  --data '{
    "clusterId": "string",
    "storageName": "string",
    "storageSize": 0
  }'

Response

"<string>"