<?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 Can't Delete Item From ArcGisOnline in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/can-t-delete-item-from-arcgisonline/m-p/821539#M2820</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi i'm using item.delete there is no error but item is still there.&lt;/P&gt;&lt;P&gt;does anyone know how to accomplish that ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;from arcgis.gis import GIS

gisAgolCon = GIS('https://Url',usernasme,pw)
token = gisAgolCon._con.token

delItem=gisAgolCon.content.get('gchghjgkgkkg5658hlhjlkhjl')
delItem.delete(force=True,dry_run=True)&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 09:45:16 GMT</pubDate>
    <dc:creator>מנהל_תקשובמנהל_מערכת</dc:creator>
    <dc:date>2021-12-12T09:45:16Z</dc:date>
    <item>
      <title>Can't Delete Item From ArcGisOnline</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/can-t-delete-item-from-arcgisonline/m-p/821539#M2820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi i'm using item.delete there is no error but item is still there.&lt;/P&gt;&lt;P&gt;does anyone know how to accomplish that ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;from arcgis.gis import GIS

gisAgolCon = GIS('https://Url',usernasme,pw)
token = gisAgolCon._con.token

delItem=gisAgolCon.content.get('gchghjgkgkkg5658hlhjlkhjl')
delItem.delete(force=True,dry_run=True)&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 09:45:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/can-t-delete-item-from-arcgisonline/m-p/821539#M2820</guid>
      <dc:creator>מנהל_תקשובמנהל_מערכת</dc:creator>
      <dc:date>2021-12-12T09:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: Can't Delete Item From ArcGisOnline</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/can-t-delete-item-from-arcgisonline/m-p/821540#M2821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;well it is&amp;nbsp;my mistake &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;it&amp;nbsp;needs to run&amp;nbsp; without the "dry_run=True"&lt;/P&gt;&lt;PRE class="" style="color: #000000; background: #f5f2f0; border: 0px; margin: 0.5em 0px; padding: 1em 1em 1em 3.8em;"&gt;&lt;CODE style="border: 0px; font-weight: inherit;"&gt;delItem.delete()&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2020 11:48:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/can-t-delete-item-from-arcgisonline/m-p/821540#M2821</guid>
      <dc:creator>מנהל_תקשובמנהל_מערכת</dc:creator>
      <dc:date>2020-06-22T11:48:34Z</dc:date>
    </item>
  </channel>
</rss>

