List VPS ISO media

GET /api/v2/vps/{id}/iso

Return ISO images available to the VPS, mounted CD/DVD devices, boot-order state, usable CD/DVD slots, and mount/upload gates.

Get {id} from GET /api/v2/vps data[].id.

Use available[].id as isoId for mounting and mounted[].isoId or available[].id as {volid} when deleting owned ISO media.

VPS Services Images & Rebuild

Authentication

Required API scope: read:vm

Authenticate with an API key in the Authorization: Bearer <token> header.

Context

Path Parameters

id string required Example: vps_01hxa3b4c5d6e7f8g9h0j1k2m3

Public VPS ID from GET /api/v2/vps data[].id. Do not invent this value; use the exact ID returned by the referenced API response.

Headers

Authorization Bearer <token>
Accept application/json

Responses

200 VPS ISO media state.
available array<object> required
available[].id string required · Example: iso_01hxa3b4c5d6e7f8g9h0j1k2m3
available[].name string · nullable required · Example: ubuntu-24.04-live-server-amd64.iso

Nullable: may be null when not applicable.

available[].displayName string · nullable required · Example: Ubuntu 24.04 LTS

Nullable: may be null when not applicable.

available[].sizeGb number required · Example: 5.9
available[].format string · nullable required · Example: iso

Nullable: may be null when not applicable.

mounted array<object> required
mounted[].device string · nullable required · Example: ide2

Nullable: may be null when not applicable.

mounted[].isoId string · nullable required · Example: iso_01hxa3b4c5d6e7f8g9h0j1k2m3

Nullable: may be null when not applicable.

mounted[].mounted boolean required · Example: true
mounted[].isCloudInit boolean required · Example: false
bootOrder object · nullable required · Example: null

availableDevices array<object> required
availableDevices[].device string · nullable required · Example: ide2

Nullable: may be null when not applicable.

availableDevices[].type string · nullable required · Example: existing_cdrom

Nullable: may be null when not applicable.

availableDevices[].description string · nullable required · Example: CD/DVD 3

Nullable: may be null when not applicable.

availableDevices[].inUse boolean required · Example: true
actions object required
actions.canMount object required
actions.canMount.allowed boolean required · Example: true
actions.canMount.reason string · nullable required · Example: null

Nullable: may be null when not applicable.

actions.canMount.code string · nullable · Example: pending_order

Machine-readable reason code when an action is blocked.

actions.canUpload object required
actions.canUpload.allowed boolean required · Example: true
actions.canUpload.reason string · nullable required · Example: null

Nullable: may be null when not applicable.

actions.canUpload.code string · nullable · Example: pending_order

Machine-readable reason code when an action is blocked.

400 Invalid request. The response body is an RFC 7807 Problem Details document.
type string · Example: https://developer.hostup.se/errors/invalid_request
title string · Example: Validation failed
status integer · Example: 400
detail string · Example: The request body failed validation.
code string · Example: invalid_request

Stable machine-readable code. Branch on this field, not on detail.

instance string · Example: /api/v2/orders
requestId string · Example: req_01hxa3b4c5d6e7f8g9h0j1k2m3
timestamp string · Example: 2026-04-27T12:34:56.000Z
errors array<object>

Field-level validation errors when code is invalid_request.

errors[].pointer string required · Example: /items/0/eppCode
errors[].detail string required · Example: `eppCode` is required for this transfer.
errors[].code string required · Example: missing_required
extensions object
401 Unauthorized. Authentication is required.
type string · Example: https://developer.hostup.se/errors/invalid_request
title string · Example: Validation failed
status integer · Example: 400
detail string · Example: The request body failed validation.
code string · Example: invalid_request

Stable machine-readable code. Branch on this field, not on detail.

instance string · Example: /api/v2/orders
requestId string · Example: req_01hxa3b4c5d6e7f8g9h0j1k2m3
timestamp string · Example: 2026-04-27T12:34:56.000Z
errors array<object>

Field-level validation errors when code is invalid_request.

errors[].pointer string required · Example: /items/0/eppCode
errors[].detail string required · Example: `eppCode` is required for this transfer.
errors[].code string required · Example: missing_required
extensions object
403 Forbidden. The caller lacks a required scope or does not own the resource.
type string · Example: https://developer.hostup.se/errors/invalid_request
title string · Example: Validation failed
status integer · Example: 400
detail string · Example: The request body failed validation.
code string · Example: invalid_request

Stable machine-readable code. Branch on this field, not on detail.

instance string · Example: /api/v2/orders
requestId string · Example: req_01hxa3b4c5d6e7f8g9h0j1k2m3
timestamp string · Example: 2026-04-27T12:34:56.000Z
errors array<object>

Field-level validation errors when code is invalid_request.

errors[].pointer string required · Example: /items/0/eppCode
errors[].detail string required · Example: `eppCode` is required for this transfer.
errors[].code string required · Example: missing_required
extensions object
404 Not found. The resource does not exist or is not owned by the caller.
type string · Example: https://developer.hostup.se/errors/invalid_request
title string · Example: Validation failed
status integer · Example: 400
detail string · Example: The request body failed validation.
code string · Example: invalid_request

Stable machine-readable code. Branch on this field, not on detail.

instance string · Example: /api/v2/orders
requestId string · Example: req_01hxa3b4c5d6e7f8g9h0j1k2m3
timestamp string · Example: 2026-04-27T12:34:56.000Z
errors array<object>

Field-level validation errors when code is invalid_request.

errors[].pointer string required · Example: /items/0/eppCode
errors[].detail string required · Example: `eppCode` is required for this transfer.
errors[].code string required · Example: missing_required
extensions object
429 Rate limited. Retry after the limit resets. 429 responses include Retry-After seconds plus X-RateLimit-* headers.
type string · Example: https://developer.hostup.se/errors/invalid_request
title string · Example: Validation failed
status integer · Example: 400
detail string · Example: The request body failed validation.
code string · Example: invalid_request

Stable machine-readable code. Branch on this field, not on detail.

instance string · Example: /api/v2/orders
requestId string · Example: req_01hxa3b4c5d6e7f8g9h0j1k2m3
timestamp string · Example: 2026-04-27T12:34:56.000Z
errors array<object>

Field-level validation errors when code is invalid_request.

errors[].pointer string required · Example: /items/0/eppCode
errors[].detail string required · Example: `eppCode` is required for this transfer.
errors[].code string required · Example: missing_required
extensions object
500 Internal error. Retry later or contact support if the issue persists.
type string · Example: https://developer.hostup.se/errors/invalid_request
title string · Example: Validation failed
status integer · Example: 400
detail string · Example: The request body failed validation.
code string · Example: invalid_request

Stable machine-readable code. Branch on this field, not on detail.

instance string · Example: /api/v2/orders
requestId string · Example: req_01hxa3b4c5d6e7f8g9h0j1k2m3
timestamp string · Example: 2026-04-27T12:34:56.000Z
errors array<object>

Field-level validation errors when code is invalid_request.

errors[].pointer string required · Example: /items/0/eppCode
errors[].detail string required · Example: `eppCode` is required for this transfer.
errors[].code string required · Example: missing_required
extensions object
GET https://cloud.hostup.se/api/v2/vps/{id}/iso
For AI assistants
View as Markdown
cURL
curl -X GET "https://cloud.hostup.se/api/v2/vps/vps_01hxa3b4c5d6e7f8g9h0j1k2m3/iso" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Accept: application/json"
Response
{
  "available": [
    {
      "id": "iso_01hxa3b4c5d6e7f8g9h0j1k2m3",
      "name": "ubuntu-24.04-live-server-amd64.iso",
      "displayName": "Ubuntu 24.04 LTS",
      "sizeGb": 5.9,
      "format": "iso"
    }
  ],
  "mounted": [
    {
      "device": "ide2",
      "isoId": "iso_01hxa3b4c5d6e7f8g9h0j1k2m3",
      "mounted": true,
      "isCloudInit": false
    }
  ],
  "bootOrder": {
    "order": [
      "scsi0",
      "ide2"
    ],
    "devices": {
      "scsi0": "Disk",
      "ide2": "CD/DVD 3"
    },
    "availableDevices": [
      {
        "id": "scsi0",
        "name": "Disk",
        "type": "disk"
      },
      {
        "id": "ide2",
        "name": "CD/DVD 3",
        "type": "cdrom"
      }
    ]
  },
  "availableDevices": [
    {
      "device": "ide2",
      "type": "existing_cdrom",
      "description": "CD/DVD 3",
      "inUse": true
    },
    {
      "device": "ide3",
      "type": "available",
      "description": "CD/DVD 4",
      "inUse": false
    }
  ],
  "actions": {
    "canMount": {
      "allowed": true,
      "reason": null
    },
    "canUpload": {
      "allowed": true,
      "reason": null
    }
  }
}