<?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: Remove allowed principal from service folder in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/remove-allowed-principal-from-service-folder/m-p/1568445#M73340</link>
    <description>&lt;P&gt;I'm aware this is a bit late, but as I was just working on something similar myself I figured this might interest people finding this:&lt;/P&gt;&lt;P&gt;You'll have to call the permissions/add endpoint with&amp;nbsp;&lt;SPAN&gt;principal&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;=esriEveryone and&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;isAllowed=&lt;/SPAN&gt;&lt;SPAN&gt;false. This should clear that permission from the service or folder.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 13 Dec 2024 16:08:28 GMT</pubDate>
    <dc:creator>Desharin</dc:creator>
    <dc:date>2024-12-13T16:08:28Z</dc:date>
    <item>
      <title>Remove allowed principal from service folder</title>
      <link>https://community.esri.com/t5/python-questions/remove-allowed-principal-from-service-folder/m-p/1539208#M72872</link>
      <description>&lt;P&gt;I know we can add an allowed principal for a folder using arcgis admin:&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;/arcgis/admin/services/FOLDER_NAME&lt;/SPAN&gt;&lt;SPAN&gt;/permissions/add&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;but I have not found a way to remove a principal for only one folder. I am aware of clean permissions, but I don't want to clean all permissions assigned to a role. I am simply trying to remove 'esriEveryone' as the allowed principal for only one folder without removing it from other folders. Is there a way to do this?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 16 Sep 2024 22:10:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/remove-allowed-principal-from-service-folder/m-p/1539208#M72872</guid>
      <dc:creator>vl-driscolls</dc:creator>
      <dc:date>2024-09-16T22:10:29Z</dc:date>
    </item>
    <item>
      <title>Re: Remove allowed principal from service folder</title>
      <link>https://community.esri.com/t5/python-questions/remove-allowed-principal-from-service-folder/m-p/1568445#M73340</link>
      <description>&lt;P&gt;I'm aware this is a bit late, but as I was just working on something similar myself I figured this might interest people finding this:&lt;/P&gt;&lt;P&gt;You'll have to call the permissions/add endpoint with&amp;nbsp;&lt;SPAN&gt;principal&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;=esriEveryone and&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;isAllowed=&lt;/SPAN&gt;&lt;SPAN&gt;false. This should clear that permission from the service or folder.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2024 16:08:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/remove-allowed-principal-from-service-folder/m-p/1568445#M73340</guid>
      <dc:creator>Desharin</dc:creator>
      <dc:date>2024-12-13T16:08:28Z</dc:date>
    </item>
  </channel>
</rss>

