/[portalID]/updateItemDeletePolicy: Update Item Delete Policy

URL:
https://[root]/portals/[portalID]/collaborations/[collaborationID]/participants/[portalID]/updateItemDeletePolicy
Methods:
GET
Required Capability:
Administrator
Version Introduced:
10.6

Example usage

The following is a sample ArcGIS Online POST request for the updateItemDeletePolicy operation:

Use dark colors for code blocksCopy
1
2
3
4
5
6
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

The following is a sample ArcGIS Enterprise POST request for the updateItemDeletePolicy operation:

Use dark colors for code blocksCopy
1
2
3
4
5
6
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

PropertyDetails

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

Use dark colors for code blocksCopy
1
{"success": true}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.