Extend the storage capacity of an existing Virtual Private Server (VPS). This is useful when your server requires more space for data, applications, or system files.
vmid integer · min: 1 required Example Unique vmid identifier
Accept Example Content-Type Example size string required storage string required interface string required success boolean timestamp string requestId string data object https://cloud.hostup.se/api/vm/{vmid}/add-disk curl -X POST "https://cloud.hostup.se/api/vm/16418/add-disk" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"size": "string",
"storage": "string",
"interface": "string"
}' {
"success": true,
"timestamp": "string",
"requestId": "string",
"data": {
"success": true,
"message": "string",
"result": {
"success": true,
"diskName": "string",
"diskId": 0,
"storage": "string",
"size": "string",
"cache": "string",
"result": {}
}
}
} {
"size": "string",
"storage": "string",
"interface": "string"
}