- URL:https://[root]/portals/[portalID]/collaborations/[collaborationID]/participants/[portalID]/updateItemDeletePolicy
- Required Capability:Administrator
- Version Introduced:10.6
Example usage
Below is a sample ArcGIS Online POST request for the updateItemDeletePolicy operation:
POST /sharing/rest/portals/123456789ABCDEF/collaborations/972da76ce4a5460aaf60213279d6c3ed/participants/e6623fad-8bba-42e5-b88e-6b7e1a502ef6/updateItemDeletePolicy HTTP/1.1
Host: org.arcgis.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []
deleteContributedItems=true&deleteReceivedItems=true&f=pjson
Below is a sample ArcGIS Enterprise POST request for the updateItemDeletePolicy operation:
POST /webadaptor/sharing/rest/portals/123456789ABCDEF/collaborations/972da76ce4a5460aaf60213279d6c3ed/participants/e6623fad-8bba-42e5-b88e-6b7e1a502ef6/updateItemDeletePolicy HTTP/1.1
Host: machine.domain.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []
deleteContributedItems=true&deleteReceivedItems=true&f=pjson
Request parameters
Property | Details |
---|---|
deleteContributedItems | When a participant leaves or deletes a collaboration, this property determines whether contributed items will be deleted or maintained. The default is false. Values: true | false |
deleteReceivedItems | When a participant leaves or deletes a collaboration, this property determines whether received items will be deleted or maintained. The default is false. Values: true | false |
f | The response format. The default response format is html. Values: html | json | pjson |
JSON Response example
{"success": true}