<?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 Delete URL from URL Category using api in Automation/API Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/delete-url-from-url-category-using-api/m-p/77679#M1223</link>
    <description>&lt;P&gt;I'm wanting to be able to delete specific URLs from &lt;EM&gt;Objects -&amp;gt; Custom Objects -&amp;gt; URL Category&lt;/EM&gt; using the api.&amp;nbsp; I have refered to an existing post here that offers a solution however, I am getting an error when I run the command.&amp;nbsp; My command running on PAN OS 6.1.9 is:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;panxapi.py -d "/config/devices/entry/vsys/entry[@name='vsys1']/profiles/custom-url-category/entry[@name='Blocklist - Mine']/member[text()='pufikshop.ru/css/index.php']"&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The response I get is:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;delete: success [code="20"]: "Object doesn't exist"&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The specific URL is still listed in the URL list.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any suggestions?&amp;nbsp; Also, I would like to know if there is a way to empty all entries from the &lt;EM&gt;Blocklist - Mine&lt;/EM&gt; URL category without deleting the category itself.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Leigh&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 09 May 2016 05:27:54 GMT</pubDate>
    <dc:creator>LeighV</dc:creator>
    <dc:date>2016-05-09T05:27:54Z</dc:date>
    <item>
      <title>Delete URL from URL Category using api</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/delete-url-from-url-category-using-api/m-p/77679#M1223</link>
      <description>&lt;P&gt;I'm wanting to be able to delete specific URLs from &lt;EM&gt;Objects -&amp;gt; Custom Objects -&amp;gt; URL Category&lt;/EM&gt; using the api.&amp;nbsp; I have refered to an existing post here that offers a solution however, I am getting an error when I run the command.&amp;nbsp; My command running on PAN OS 6.1.9 is:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;panxapi.py -d "/config/devices/entry/vsys/entry[@name='vsys1']/profiles/custom-url-category/entry[@name='Blocklist - Mine']/member[text()='pufikshop.ru/css/index.php']"&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The response I get is:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;delete: success [code="20"]: "Object doesn't exist"&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The specific URL is still listed in the URL list.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any suggestions?&amp;nbsp; Also, I would like to know if there is a way to empty all entries from the &lt;EM&gt;Blocklist - Mine&lt;/EM&gt; URL category without deleting the category itself.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Leigh&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2016 05:27:54 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/delete-url-from-url-category-using-api/m-p/77679#M1223</guid>
      <dc:creator>LeighV</dc:creator>
      <dc:date>2016-05-09T05:27:54Z</dc:date>
    </item>
    <item>
      <title>Re: Delete URL from URL Category using api</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/delete-url-from-url-category-using-api/m-p/78587#M1227</link>
      <description>&lt;P&gt;I think your XPath for the object may be a bit off.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Original:&lt;/P&gt;
&lt;P&gt;/config/devices/entry/vsys/entry[@name='vsys1']/p&lt;WBR /&gt;rofiles/custom-url-category/entry[@name='Blocklist - Mine']/member[text()='pufikshop.ru/css/index.php']&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;New:&lt;/P&gt;
&lt;P&gt;/config/devices/entry/vsys/entry[@name='vsys1']/profiles/custom-url-category/entry[@name='Blocklist - Mine']/&lt;STRONG&gt;list/&lt;/STRONG&gt;member[text()='pufikshop.ru/css/index.php']&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2016 16:32:42 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/delete-url-from-url-category-using-api/m-p/78587#M1227</guid>
      <dc:creator>tschlottog</dc:creator>
      <dc:date>2016-05-24T16:32:42Z</dc:date>
    </item>
  </channel>
</rss>

