Horizon DaaS / Horizon Cloud REST api 9.0.2, delete VMs in assignment
I've been trying to script an Horizon DaaS tenant via the REST api: I have a full clone assignment with assigned desktops and I want to actually re-clone each desktop from the master image on saturday night, canceling the user assignment, deleting all the desktops and then recreating them.
I could get the VMs with the REST api with GET /infrastructure/vm/<vmId> but I can't figure out how to destroy the desktops. DELETE on the same entrypoint gives an http 500 internal error. Any experience with this API?