Select to view content in your preferred language

Remove allowed principal from service folder

233
1
09-16-2024 03:10 PM
vl-driscolls
Emerging Contributor

I know we can add an allowed principal for a folder using arcgis admin: 

/arcgis/admin/services/FOLDER_NAME/permissions/add
 
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?


0 Kudos
1 Reply
Desharin
Emerging Contributor

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:

You'll have to call the permissions/add endpoint with principal=esriEveryone and isAllowed=false. This should clear that permission from the service or folder.

0 Kudos