List all storage volumes

Retrieve a list of all available storage volumes. This endpoint returns a unique ID (requestId) usable in subsequent calls to track operations related to these volumes, such as billing or administrative tasks.

Headers

Accept Example
Content-Type Example

Responses

200
success boolean
timestamp string
requestId string
data object
GET https://cloud.hostup.se/api/volumes
For AI assistants
cURL
curl -X GET "https://cloud.hostup.se/api/volumes" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json"
Response
{
  "success": true,
  "timestamp": "string",
  "requestId": "string",
  "data": {
    "volumes": [
      "string"
    ],
    "count": 0
  }
}