<?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 Re: HPE OneView - Remove Server via API (with force) in HPE OneView</title>
    <link>https://community.hpe.com/t5/hpe-oneview/hpe-oneview-remove-server-via-api-with-force/m-p/7108985#M5801</link>
    <description>&lt;P&gt;To add to&amp;nbsp;&lt;a href="https://community.hpe.com/t5/user/viewprofilepage/user-id/1910579"&gt;@DaveArko&lt;/a&gt;&amp;nbsp;, this API call is not supported with BladeSystem or Synergy.&amp;nbsp; To remove a BL or SY server/compute from the enclosure/frame, you need to physically remove it.&lt;/P&gt;&lt;P&gt;As for the API documentation, it was added to the 5.30 and newer API docs.&amp;nbsp; The same API call can be used for any OneView API version, as that API call has not changed since &lt;FONT face="courier new,courier"&gt;X-API-Version 1&lt;/FONT&gt;.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://techlibrary.hpe.com/docs/enterprise/servers/oneview5.3/cic-api/en/index.html#rest/server-hardware" target="_blank" rel="noopener"&gt;HPE OneView 5.30 REST API Reference server-hardware&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://techlibrary.hpe.com/docs/enterprise/servers/oneview5.4/cic-api/en/index.html#rest/server-hardware" target="_blank" rel="noopener"&gt;HPE OneView 5.40 REST API Reference server-hardware&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://techlibrary.hpe.com/docs/enterprise/servers/oneview5.5/cic-api/en/index.html#rest/server-hardware" target="_blank" rel="noopener"&gt;HPE OneView 5.50 REST API Reference server-hardware&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;It is documented as &lt;FONT face="courier new,courier"&gt;DELETE&amp;nbsp;/rest/server-hardware/{id}&lt;/FONT&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 12 Nov 2020 21:42:43 GMT</pubDate>
    <dc:creator>ChrisLynch</dc:creator>
    <dc:date>2020-11-12T21:42:43Z</dc:date>
    <item>
      <title>HPE OneView - Remove Server via API (with force)</title>
      <link>https://community.hpe.com/t5/hpe-oneview/hpe-oneview-remove-server-via-api-with-force/m-p/7108928#M5796</link>
      <description>&lt;P&gt;Hello Guys,&lt;/P&gt;&lt;P&gt;I'm trying to remove servers from an HPE OneView Instance via rest API with a forced command.&lt;/P&gt;&lt;P&gt;Cannot find any documentation about it as the reference guide has still not been updated for the DELETE Command as already discussed here:&amp;nbsp;&lt;A href="https://community.hpe.com/t5/hpe-oneview/delete-server-hard-via-rest-api/td-p/7044396#.X61AWpNKhTZ" target="_blank"&gt;https://community.hpe.com/t5/hpe-oneview/delete-server-hard-via-rest-api/td-p/7044396#.X61AWpNKhTZ&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Long story short:&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can we delete servers from HPE OneView via Rest API with force: true?&lt;/P&gt;&lt;P&gt;curl --insecure \&lt;BR /&gt;--header "auth: TOKEN" \&lt;BR /&gt;--data '{"force":true}' \&lt;BR /&gt;--request DELETE https://INSTANCE/rest/server-hardware/ID&lt;/P&gt;&lt;P&gt;doesn't work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2020 14:03:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-oneview/hpe-oneview-remove-server-via-api-with-force/m-p/7108928#M5796</guid>
      <dc:creator>ThomasSchwamm</dc:creator>
      <dc:date>2020-11-12T14:03:58Z</dc:date>
    </item>
    <item>
      <title>Re: HPE OneView - Remove Server via API (with force)</title>
      <link>https://community.hpe.com/t5/hpe-oneview/hpe-oneview-remove-server-via-api-with-force/m-p/7108972#M5799</link>
      <description>&lt;P&gt;The force option is a query parameter, so specify it via the URL (&lt;SPAN&gt;https://INSTANCE/rest/server-hardware/ID?force=true).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The DELETE server-hardware API for some reason wasn't documented until the 5.10 release of OneView.&amp;nbsp; And is only documented for the VM version of OneView (not Synergy where it is not allowed).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hope that helps,&lt;BR /&gt;--Dave&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2020 18:12:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-oneview/hpe-oneview-remove-server-via-api-with-force/m-p/7108972#M5799</guid>
      <dc:creator>DaveArko</dc:creator>
      <dc:date>2020-11-12T18:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: HPE OneView - Remove Server via API (with force)</title>
      <link>https://community.hpe.com/t5/hpe-oneview/hpe-oneview-remove-server-via-api-with-force/m-p/7108985#M5801</link>
      <description>&lt;P&gt;To add to&amp;nbsp;&lt;a href="https://community.hpe.com/t5/user/viewprofilepage/user-id/1910579"&gt;@DaveArko&lt;/a&gt;&amp;nbsp;, this API call is not supported with BladeSystem or Synergy.&amp;nbsp; To remove a BL or SY server/compute from the enclosure/frame, you need to physically remove it.&lt;/P&gt;&lt;P&gt;As for the API documentation, it was added to the 5.30 and newer API docs.&amp;nbsp; The same API call can be used for any OneView API version, as that API call has not changed since &lt;FONT face="courier new,courier"&gt;X-API-Version 1&lt;/FONT&gt;.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://techlibrary.hpe.com/docs/enterprise/servers/oneview5.3/cic-api/en/index.html#rest/server-hardware" target="_blank" rel="noopener"&gt;HPE OneView 5.30 REST API Reference server-hardware&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://techlibrary.hpe.com/docs/enterprise/servers/oneview5.4/cic-api/en/index.html#rest/server-hardware" target="_blank" rel="noopener"&gt;HPE OneView 5.40 REST API Reference server-hardware&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://techlibrary.hpe.com/docs/enterprise/servers/oneview5.5/cic-api/en/index.html#rest/server-hardware" target="_blank" rel="noopener"&gt;HPE OneView 5.50 REST API Reference server-hardware&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;It is documented as &lt;FONT face="courier new,courier"&gt;DELETE&amp;nbsp;/rest/server-hardware/{id}&lt;/FONT&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2020 21:42:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-oneview/hpe-oneview-remove-server-via-api-with-force/m-p/7108985#M5801</guid>
      <dc:creator>ChrisLynch</dc:creator>
      <dc:date>2020-11-12T21:42:43Z</dc:date>
    </item>
    <item>
      <title>Re: HPE OneView - Remove Server via API (with force)</title>
      <link>https://community.hpe.com/t5/hpe-oneview/hpe-oneview-remove-server-via-api-with-force/m-p/7109029#M5808</link>
      <description>&lt;P&gt;Thank you Dave &amp;amp; Chris!&lt;/P&gt;&lt;P&gt;That has solved it.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Nov 2020 07:21:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-oneview/hpe-oneview-remove-server-via-api-with-force/m-p/7109029#M5808</guid>
      <dc:creator>ThomasSchwamm</dc:creator>
      <dc:date>2020-11-13T07:21:33Z</dc:date>
    </item>
  </channel>
</rss>

