<?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: Command to delete ftd from fmc in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/command-to-delete-ftd-from-fmc/m-p/4751800#M1096607</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;-&amp;nbsp;You can use the REST API to delete multiple FTD devices from the FMC. You can use the DELETE method of the REST API to delete a device by specifying the device ID in the API call. Here's an example of how you can do this using cURL:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;curl -X DELETE -H "Content-Type: application/json" -H "Authorization: Bearer &amp;lt;API_TOKEN&amp;gt;" "&amp;lt;FMC_URL&amp;gt;/api/fmc_config/v1/domain/e276abec-e0f2-11e3-8169-6d9ed49b625f/device/&amp;lt;DEVICE_ID&amp;gt;"&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;You can use a loop or a script to call this API for multiple devices. Make sure to replace &lt;CODE&gt;&amp;lt;API_TOKEN&amp;gt;&lt;/CODE&gt; with your FMC API token, &lt;CODE&gt;&amp;lt;FMC_URL&amp;gt;&lt;/CODE&gt; with the URL of your FMC, and &lt;CODE&gt;&amp;lt;DEVICE_ID&amp;gt;&lt;/CODE&gt; with the ID of the device you want to delete.&lt;/P&gt;
&lt;P&gt;Note: The REST API method for deleting devices is only available in FMC versions 6.2.0 and later.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;M.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="bg-black mb-4 rounded-md"&gt;
&lt;DIV class="flex items-center relative text-gray-200 bg-gray-800 px-4 py-2 text-xs font-sans"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;PRE&gt;&amp;nbsp;&lt;/PRE&gt;
&lt;P&gt;-&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 10 Jan 2023 07:28:11 GMT</pubDate>
    <dc:creator>Mark Elsen</dc:creator>
    <dc:date>2023-01-10T07:28:11Z</dc:date>
    <item>
      <title>Command to delete ftd from fmc</title>
      <link>https://community.cisco.com/t5/network-security/command-to-delete-ftd-from-fmc/m-p/4751599#M1096595</link>
      <description>&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;We have a requirement to delete multiple FTD's from FMC. Is there a command or REST API to do this or do we need to manually do one by one using GUI?&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jan 2023 21:15:20 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/command-to-delete-ftd-from-fmc/m-p/4751599#M1096595</guid>
      <dc:creator>kamtarias</dc:creator>
      <dc:date>2023-01-09T21:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: Command to delete ftd from fmc</title>
      <link>https://community.cisco.com/t5/network-security/command-to-delete-ftd-from-fmc/m-p/4751800#M1096607</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;-&amp;nbsp;You can use the REST API to delete multiple FTD devices from the FMC. You can use the DELETE method of the REST API to delete a device by specifying the device ID in the API call. Here's an example of how you can do this using cURL:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;curl -X DELETE -H "Content-Type: application/json" -H "Authorization: Bearer &amp;lt;API_TOKEN&amp;gt;" "&amp;lt;FMC_URL&amp;gt;/api/fmc_config/v1/domain/e276abec-e0f2-11e3-8169-6d9ed49b625f/device/&amp;lt;DEVICE_ID&amp;gt;"&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;You can use a loop or a script to call this API for multiple devices. Make sure to replace &lt;CODE&gt;&amp;lt;API_TOKEN&amp;gt;&lt;/CODE&gt; with your FMC API token, &lt;CODE&gt;&amp;lt;FMC_URL&amp;gt;&lt;/CODE&gt; with the URL of your FMC, and &lt;CODE&gt;&amp;lt;DEVICE_ID&amp;gt;&lt;/CODE&gt; with the ID of the device you want to delete.&lt;/P&gt;
&lt;P&gt;Note: The REST API method for deleting devices is only available in FMC versions 6.2.0 and later.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;M.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="bg-black mb-4 rounded-md"&gt;
&lt;DIV class="flex items-center relative text-gray-200 bg-gray-800 px-4 py-2 text-xs font-sans"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;PRE&gt;&amp;nbsp;&lt;/PRE&gt;
&lt;P&gt;-&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2023 07:28:11 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/command-to-delete-ftd-from-fmc/m-p/4751800#M1096607</guid>
      <dc:creator>Mark Elsen</dc:creator>
      <dc:date>2023-01-10T07:28:11Z</dc:date>
    </item>
  </channel>
</rss>

