/[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:

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:

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

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.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close