vcenter iso image: unmount

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

Request:

HTTP request

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

Path Parameters

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

Request Body Structure:

{
    "cdrom""obj-103"
}
<?xml version="1.0" ?>
<ns0:Unmount-Input xmlns:ns0="http://vmware.com/vcenter/iso/image" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <cdrom>obj-103</cdrom>
</ns0:Unmount-Input>

Request Body Parameters:

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

Response:

HTTP Status Code: 200

None

Errors:

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.