vcenter iso image: unmount

Unmounts a previously mounted CD-ROM using an ISO image as a backing.


HTTP request

POST https://{server}/rest/com/vmware/vcenter/iso/image/id:{vm}?~action=unmount

Path Parameters

Name Type Description
vm string The identifier of the virtual machine from which to unmount the virtual CD-ROM.

Request Body Structure:

<?xml version="1.0" ?>
<ns0:Unmount-Input xmlns:ns0="" xmlns:xsi="">

Request Body Parameters:

Name Type Description
bold = required
cdrom string The device identifier of the CD-ROM.


HTTP Status Code: 200



HTTP Status Code Type Description
404 not_found If the virtual machine identified by vm is not found or the cdrom does not identify a virtual CD-ROM in the virtual machine.
400 not_allowed_in_current_state When the operation is not allowed on the virtual machine in its current state.