Mount an ISO file to a virtual server

Mount an ISO file to a specific virtual server (VM). This is useful for installing operating systems or running diagnostic tools. The endpoint returns an ID you can use to track the mounting operation.

Path Parameters

vmid integer · min: 1 required Example

Unique vmid identifier

Headers

Accept Example
Content-Type Example

Body

required
application/json
action string · enum required
create_device
download
mount
set_boot_order
isoPath string
device string · enum
ide1
ide2
ide3
bootOrder array
url string
filename string

Responses

200
success boolean
timestamp string
requestId string
data object
400
error string
message string
code string
timestamp string
requestId string
500
error string
message string
code string
timestamp string
requestId string
POST https://cloud.hostup.se/api/vm/{vmid}/iso
For AI assistants
cURL
curl -X POST "https://cloud.hostup.se/api/vm/18047/iso" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "action": "create_device",
    "isoPath": "string",
    "device": "ide1",
    "bootOrder": [
      "string"
    ],
    "url": "string",
    "filename": "string"
  }'
Response
{
  "success": true,
  "timestamp": "string",
  "requestId": "string",
  "data": {
    "message": "string",
    "device": "string",
    "iso": "string"
  }
}
Request Body
{
  "action": "create_device",
  "isoPath": "string",
  "device": "ide1",
  "bootOrder": [
    "string"
  ],
  "url": "string",
  "filename": "string"
}