Remove an ISO file from a virtual machine (VM) or detach it. This is useful when you want to free up disk space or switch to a different ISO. You need the 'volid' from GET /api/vm/{vmid}/iso to run this.
path.vmid volid from GET /api/vm/{vmid}/iso volid → data.volid vmid integer · min: 1 required
Example: 10000 Unique vmid identifier
action string · enum required
· Example: unmount delete unmount device string
· Example: ide2 volid string
· Example: iso:iso/example.com.iso Accept Example Content-Type Example data object required data.device string
· Example: ide2 data.message string required
· Example: ISO unmounted successfully Human-readable message.
data.volid string
· Example: iso:iso/example.com.iso requestId string required
· Example: 2121ae20-bd9d-41e9-aeeb-5dd1dd1a24ba Unique request identifier (UUID).
success boolean required
· Example: true True for successful responses.
timestamp string required
· Example: 2026-02-10T00:00:00.000Z ISO 8601 timestamp (UTC).
https://cloud.hostup.se/api/vm/{vmid}/iso curl -X DELETE "https://cloud.hostup.se/api/vm/10000/iso?action=unmount" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" {
"success": true,
"timestamp": "2026-02-10T00:00:00.000Z",
"requestId": "2121ae20-bd9d-41e9-aeeb-5dd1dd1a24ba",
"data": {
"message": "ISO unmounted successfully",
"device": "ide2"
}
}