Add storage to a virtual server

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.

Path Parameters

vmid integer · min: 1 required Example

Unique vmid identifier

Headers

Accept Example
Content-Type Example

Body

required
application/json
size string required
storage string required
interface string required

Responses

200
success boolean
timestamp string
requestId string
data object
POST https://cloud.hostup.se/api/vm/{vmid}/add-disk
For AI assistants
cURL
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"
  }'
Response
{
  "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": {}
    }
  }
}
Request Body
{
  "size": "string",
  "storage": "string",
  "interface": "string"
}