Skip To Content
ArcGIS Developers
Dashboard

/[invitationID]/invalidate: Invalidate Collaboration Invitation

  • URL:https://[root]/portals/[portalID]/collaborations/[collaborationID]/invitations/[invitationID]/invalidate
  • Required Capability:Administrator (host)
  • Version Introduced:10.5

Example usage

Below is a sample ArcGIS Online POST request for the invalidate operation:

POST /sharing/rest/portals/0123456789ABCDEF/collaborations/3e9d1694351a4b5badef66c7599fced5/invitations/fed17d86e5a44f64aed331dfba65768a/invalidate HTTP/1.1
Host: org.arcgis.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []

f=pjson

Below is a sample ArcGIS Enterprise POST request for the invalidate operation:

POST /webadaptor/sharing/rest/portals/0123456789ABCDEF/collaborations/3e9d1694351a4b5badef66c7599fced5/invitations/fed17d86e5a44f64aed331dfba65768a/invalidate HTTP/1.1
Host: machine.domain.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []

f=pjson

Description

The invalidate operation invalidates a previously generated distributed collaboration invitation. If a guest accepts this invitation and sends an invitation response for it, the response will not import successfully on the collaboration host.

Request parameters

ParameterDetails
f

The response format. The default format is html.

Values: html | json | pjson

JSON Response example

{
  "success": true
}