Select to view content in your preferred language

How do you alter delete protection of a group in ArcGIS Online using the ArcGIS API for Python?

1617
1
Jump to solution
07-17-2019 11:17 AM
PeterGamberg1
Esri Contributor

Is it possible to change the delete protection properties of a group within ArcGIS Online using the ArcGIS API for Python? Based on the documentation of the Group module (https://esri.github.io/arcgis-python-api/apidoc/html/arcgis.gis.toc.html#group

), I can return the delete protection status of a group but I don’t see method of changing the property.

1 Solution

Accepted Solutions
by Anonymous User
Not applicable

You do it like

group.protected = False

The setter will push the change to the backend.

View solution in original post

1 Reply
by Anonymous User
Not applicable

You do it like

group.protected = False

The setter will push the change to the backend.