<?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 Cannot Unshare Item  in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/cannot-unshare-item/m-p/777899#M1057</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using a script to recursivly unshare all items in an AGOL users content and I am using&amp;nbsp;item.share(False, False, None, False). However after it runs the sharing on the item remains shared everyone true. Any ideas? It seems to be having trouble with items shared everyone.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Dec 2018 17:17:12 GMT</pubDate>
    <dc:creator>IsaiahAguilera</dc:creator>
    <dc:date>2018-12-18T17:17:12Z</dc:date>
    <item>
      <title>Cannot Unshare Item</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/cannot-unshare-item/m-p/777899#M1057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using a script to recursivly unshare all items in an AGOL users content and I am using&amp;nbsp;item.share(False, False, None, False). However after it runs the sharing on the item remains shared everyone true. Any ideas? It seems to be having trouble with items shared everyone.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Dec 2018 17:17:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/cannot-unshare-item/m-p/777899#M1057</guid>
      <dc:creator>IsaiahAguilera</dc:creator>
      <dc:date>2018-12-18T17:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Unshare Item</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/cannot-unshare-item/m-p/777900#M1058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anybody? This has to be a bug. Unless I am missing something huge.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2018 01:32:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/cannot-unshare-item/m-p/777900#M1058</guid>
      <dc:creator>IsaiahAguilera</dc:creator>
      <dc:date>2018-12-19T01:32:59Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Unshare Item</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/cannot-unshare-item/m-p/777901#M1059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I also have this question. I am trying to unshare an item so that is completely private. I have tried using the following to no avail:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE style="color: #000000; background-color: #f7f7f7; border: 1px solid #cccccc; font-size: 14px; margin: 0px 0px 9px; padding: 0.4em;"&gt;item&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;.&lt;/SPAN&gt;share&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;(&lt;/SPAN&gt;everyone&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;False&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;,&lt;/SPAN&gt; org&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;False&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;,&lt;/SPAN&gt; groups&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;None&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;,&lt;/SPAN&gt; allow_members_to_edit&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;False&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;)&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE style="color: #000000; background-color: #f7f7f7; border: 1px solid #cccccc; font-size: 14px; margin: 0px 0px 9px; padding: 0.4em;"&gt;&lt;SPAN style="color: #000000;"&gt;item&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;share&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;everyone&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;False&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; org&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;False&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; groups&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #007427; font-weight: bold; "&gt;[]&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; allow_members_to_edit&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;False&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;)&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE style="color: #000000; background-color: #f7f7f7; border: 1px solid #cccccc; font-size: 14px; margin: 0px 0px 9px; padding: 0.4em;"&gt;item&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;.&lt;/SPAN&gt;share&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;(&lt;/SPAN&gt;everyone&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;False&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;,&lt;/SPAN&gt; org&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;False&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;,&lt;/SPAN&gt; groups&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;None&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;,&lt;/SPAN&gt; allow_members_to_edit&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;True&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;)&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE style="color: #000000; background-color: #f7f7f7; border: 1px solid #cccccc; font-size: 14px; margin: 0px 0px 9px; padding: 0.4em;"&gt;item&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;.&lt;/SPAN&gt;share&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;)&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE style="color: #000000; background-color: #f7f7f7; border: 1px solid #cccccc; font-size: 14px; margin: 0px 0px 9px; padding: 0.4em;"&gt;item&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;.&lt;/SPAN&gt;share&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;False&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;)&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;None of these affected what groups the item is shared with.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Oct 2019 17:33:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/cannot-unshare-item/m-p/777901#M1059</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-10-10T17:33:38Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot Unshare Item</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/cannot-unshare-item/m-p/777902#M1060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/16444"&gt;Isaiah Aguilera&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;Figured it out. You have to use the &lt;A href="https://developers.arcgis.com/python/api-reference/arcgis.gis.toc.html#arcgis.gis.Item.unshare"&gt;item.unshare() method&lt;/A&gt;, which requires a list of groups for the item to be unshared with.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Oct 2019 17:43:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/cannot-unshare-item/m-p/777902#M1060</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-10-10T17:43:40Z</dc:date>
    </item>
  </channel>
</rss>

