<?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: Recycle Bin in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/recycle-bin/m-p/1500964#M60007</link>
    <description>&lt;P&gt;What version of the API are you using?&amp;nbsp; You can check using this:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;arcgis.__version__&lt;/LI-CODE&gt;</description>
    <pubDate>Wed, 03 Jul 2024 13:44:38 GMT</pubDate>
    <dc:creator>MobiusSnake</dc:creator>
    <dc:date>2024-07-03T13:44:38Z</dc:date>
    <item>
      <title>Recycle Bin</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/recycle-bin/m-p/1500943#M60004</link>
      <description>&lt;P&gt;I'm trying to interact with my orgs recycle bin via API for Python and I'm getting an error saying&amp;nbsp;&lt;/P&gt;&lt;P&gt;'User' object has no attribute 'recyclebin'&lt;/P&gt;&lt;P&gt;I'm using the verbiage from the documentation.&lt;/P&gt;&lt;PRE&gt;# Usage Example:

&amp;gt;&amp;gt;&amp;gt; gis = GIS(profile="your_online_profile")

&amp;gt;&amp;gt;&amp;gt; my_user = gis.users.me
&amp;gt;&amp;gt;&amp;gt; r_bin_content = my_user.recyclebin.content
&amp;gt;&amp;gt;&amp;gt; type(r_bin_content)

&amp;lt;class 'generator'&amp;gt;

&amp;gt;&amp;gt;&amp;gt; for r_item in r_bin_content:
        print(f"{r_item.properties['title']":15}{r_item.properties['type']}")

trees_sd        Service Definition
trees_flc       Feature Service&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has anyone been able to use the recycle bin via code?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2024 13:02:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/recycle-bin/m-p/1500943#M60004</guid>
      <dc:creator>cheyennecornett</dc:creator>
      <dc:date>2024-07-03T13:02:35Z</dc:date>
    </item>
    <item>
      <title>Re: Recycle Bin</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/recycle-bin/m-p/1500964#M60007</link>
      <description>&lt;P&gt;What version of the API are you using?&amp;nbsp; You can check using this:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;arcgis.__version__&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 03 Jul 2024 13:44:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/recycle-bin/m-p/1500964#M60007</guid>
      <dc:creator>MobiusSnake</dc:creator>
      <dc:date>2024-07-03T13:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: Recycle Bin</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/recycle-bin/m-p/1500971#M60008</link>
      <description>&lt;P&gt;That was the issue. I thought I was running the latest version. Fixed that and it works now, thank you&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2024 14:11:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/recycle-bin/m-p/1500971#M60008</guid>
      <dc:creator>cheyennecornett</dc:creator>
      <dc:date>2024-07-03T14:11:06Z</dc:date>
    </item>
  </channel>
</rss>

