/delete: Delete Collaboration

URL:
https://[root]/portals/[portalID]/collaborations/[collaborationID]/delete
Methods:
POST
Required Capability:
Administrator (host)

Example usage

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

Use dark colors for code blocksCopy
1
2
3
4
5
6
POST /sharing/rest/portals/0123456789ABCDEF/collaborations/3e9d1694351a4b5badef66c7599fced5/delete HTTP/1.1
Host: org.arcgis.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []

f=pjson

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

Use dark colors for code blocksCopy
1
2
3
4
5
6
POST /webadaptor/sharing/rest/portals/0123456789ABCDEF/collaborations/3e9d1694351a4b5badef66c7599fced5/delete HTTP/1.1
Host: machine.domain.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []

f=pjson

Description

The delete operation deletes a distributed collaboration from the host portal. This stops any sharing set up from the collaboration. The collaboration will be removed on guest portals on the next refresh of their content based on the collaboration sharing schedule.

Guests cannot delete collaborations, but they can discontinue participation in a collaboration via the removeParticipation endpoint.

Request parameters

ParameterDetails

f

The response formatting parameter. The default value 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.