<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Horizon DaaS / Horizon Cloud REST api 9.0.2, delete VMs in assignment in Horizon Cloud</title>
    <link>https://communities.vmware.com/t5/Horizon-Cloud/Horizon-DaaS-Horizon-Cloud-REST-api-9-0-2-delete-VMs-in/m-p/2855867#M186</link>
    <description>&lt;P&gt;&amp;nbsp;Hello,&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;I could get the VMs with the REST api with GET /infrastructure/vm/&amp;lt;vmId&amp;gt; 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?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;</description>
    <pubDate>Mon, 05 Jul 2021 16:01:48 GMT</pubDate>
    <dc:creator>dedaenicon</dc:creator>
    <dc:date>2021-07-05T16:01:48Z</dc:date>
    <item>
      <title>Horizon DaaS / Horizon Cloud REST api 9.0.2, delete VMs in assignment</title>
      <link>https://communities.vmware.com/t5/Horizon-Cloud/Horizon-DaaS-Horizon-Cloud-REST-api-9-0-2-delete-VMs-in/m-p/2855867#M186</link>
      <description>&lt;P&gt;&amp;nbsp;Hello,&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;I could get the VMs with the REST api with GET /infrastructure/vm/&amp;lt;vmId&amp;gt; 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?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jul 2021 16:01:48 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Horizon-Cloud/Horizon-DaaS-Horizon-Cloud-REST-api-9-0-2-delete-VMs-in/m-p/2855867#M186</guid>
      <dc:creator>dedaenicon</dc:creator>
      <dc:date>2021-07-05T16:01:48Z</dc:date>
    </item>
  </channel>
</rss>

