- URL:
 - https://[root]/portals/[portalID]/acceptCollaborationInvitation
 - Methods:
 POST- Required Capability:
 - Administrator (guest)
 - Version Introduced:
 - 10.5
 
Example usage
The following is a sample ArcGIS Enterprise multipart POST request for the accept operation:
POST /webadaptor/sharing/rest/portals/0123456789ABCDEF/acceptCollaborationInvitation HTTP/1.1
Host: machine.domain.com
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary2GBVvqDqPuRWXT4N
Content-Length: []
------WebKitFormBoundary2GBVvqDqPuRWXT4N
Content-Disposition: form-data; name="invitationFile"; filename=""
Content-Type: application/octet-stream
collaboration-org.domain.com.invite
------WebKitFormBoundary2GBVvqDqPuRWXT4N
Content-Disposition: form-data; name="guestContactFirstname"
John
------WebKitFormBoundary2GBVvqDqPuRWXT4N
Content-Disposition: form-data; name="guestContactLastname"
Smith
------WebKitFormBoundary2GBVvqDqPuRWXT4N
Content-Disposition: form-data; name="guestContactEmailAddress"
JSmith@org.com
------WebKitFormBoundary2GBVvqDqPuRWXT4N
Content-Disposition: form-data; name="hostWebauthUsername"
------WebKitFormBoundary2GBVvqDqPuRWXT4N
Content-Disposition: form-data; name="hostWebauthPassword"
------WebKitFormBoundary2GBVvqDqPuRWXT4N
Content-Disposition: form-data; name="hostWebauthCertificateFile"; filename=""
Content-Type: application/octet-stream
------WebKitFormBoundary2GBVvqDqPuRWXT4N
Content-Disposition: form-data; name="hostWebauthCertPassword"
------WebKitFormBoundary2GBVvqDqPuRWXT4N
Content-Disposition: form-data; name="f"
pjson
------WebKitFormBoundary2GBVvqDqPuRWXT4N--Description
The accept operation allows an ArcGIS Enterprise organization to accept a collaboration invitation. The invitation file received securely from the collaboration host must be provided as input for the invitation parameter. Once a guest accepts an invitation to a collaboration, they must link workspaces associated with the collaboration to local organization groups. The guest must export a collaboration invitation response file and send it to the host. Once the host processes the response, content can be shared between the host and participating guests.
Request parameters
| Parameter | Details | 
|---|---|
  | A multipart form parameter—file upload.  | 
  | The first name of the contact person for the guest portal.  | 
  | The last name of the contact person for the guest portal.  | 
  | The email address for the contact person for the guest portal.  | 
  | If the collaboration host requires web-tier authentication, optionally use this parameter to provide the host's web-tier authentication user name.  | 
  | If the collaboration host requires web-tier authentication, optionally use this parameter to provide the host's web-tier authentication password.  | 
  | If the collaboration host requires web-tier authentication, optionally use this parameter to provide the host's web-tier authentication certificate file.  | 
  | If the collaboration host requires web-tier authentication, optionally use this parameter to provide the host's web-tier authentication certificate password.  | 
  | The response format. The default format is  Values:   | 
JSON Response example
{"success": true}