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.
vmid integer · min: 1 required Example Unique vmid identifier
Accept Example Content-Type Example 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 success boolean timestamp string requestId string data object error string message string code string timestamp string requestId string error string message string code string timestamp string requestId string https://cloud.hostup.se/api/vm/{vmid}/iso 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"
}' {
"success": true,
"timestamp": "string",
"requestId": "string",
"data": {
"message": "string",
"device": "string",
"iso": "string"
}
} {
"action": "create_device",
"isoPath": "string",
"device": "ide1",
"bootOrder": [
"string"
],
"url": "string",
"filename": "string"
}