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"
}
"cdrom" : "obj-103"
}
Request Body Parameters:
Name | Type | Description |
---|---|---|
bold = required | ||
cdrom | string | The device identifier of the CD-ROM. |
Response:
HTTP Status Code: 200
NoneErrors:
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. |