Get VPS storage usage

Check how much storage space is purchased and used for a specific virtual server (VPS). Use this to monitor disk space and available space for your VM. The endpoint returns a 'requestId' that can be used for follow-up actions.

Path Parameters

vmid integer · min: 1 required Example

Unique vmid identifier

Headers

Accept Example
Content-Type Example

Responses

200
success boolean
timestamp string
requestId string
data object
GET https://cloud.hostup.se/api/vm/{vmid}/storage-quota
For AI assistants
cURL
curl -X GET "https://cloud.hostup.se/api/vm/16279/storage-quota" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json"
Response
{
  "success": true,
  "timestamp": "string",
  "requestId": "string",
  "data": {
    "attachable": {
      "purchasedGb": 0,
      "usedGb": 0,
      "availableGb": 0
    },
    "mainDisk": {
      "purchasedGb": 0
    }
  }
}