Skip to main content

Update Network Volume

Overview

This API allows you to update an existing network volume with new attributes such as template name, volume space, unit, and region type.

Example​

  • Method: PUT

Endpoint​

 https://api.gpulab.ai/nas-server 

Headers​

ParameterDescriptionType
api-keyYour API Key for request authorization.string

Request Body Attributes​

ParameterDescriptionType
volume_server_identifier (str)Identifier of the network volume to be updated.string
template_name (str)Name of the volume template.string
volume_space (int)Amount of space for the volume in GB.integer
unit (str) [OPTIONAL]Unit for volume space (defaults to GB).string (default: GB)
region_type (str) [OPTIONAL]Region type for the volume (defaults to ASIA).string (default: ASIA)

Request Body (JSON)​

{
"volume_server_identifier": "b51a2564-6e66-4123-8f51-d9a503432485",
"template_name": "LLM",
"volume_space": 100,
"unit": "GB",
"region_type": "ASIA"
}