Virtual App Unregister V App Task
Removes this vApp from the inventory without removing any of the virtual machine's files on disk.
All high-level information stored with the management server (ESX Server or VirtualCenter) is removed, including information such as vApp configuration, statistics, permissions, and alarms.
Required privileges: VApp.Unregister
The unique identifier for the managed object to which the method attaches; the serialized managed object reference for a request has the form moType/moId, in this case VirtualApp/{moId}.
The vSphere release schema. The current specification covers vSphere 8.0.2.0 APIs.
InvalidPowerState: if the vApp is running.
"VimFault Object"
curl -X POST -H 'Authorization: <value>' https://{api_host}/sdk/vim25/{release}/VirtualApp/{moId}/unregisterVApp_Task