Apache CloudStack 4.22.0.0 Root Admin API Reference

unmanageVirtualMachine

Unmanage a guest virtual machine.

Request parameters

Parameter NameDescriptionRequired
idThe ID of the virtual machine to unmanagetrue
forcedForce unmanaging Instance with config drive. Applicable only for KVM Hypervisor.false
hostidID of the host which will be used for unmanaging the Instance. Applicable only for KVM hypervisor and stopped Instances. Domain XML will be stored on this host.false

Response Tags

Response NameDescription
detailsdetails of the unmanage VM operation
hostidThe ID of the host used for unmanaged Instance
successresult of the unmanage VM operation