POST api/v2.0/Communities/AcceptInvitation

Accept an invitation to a Community.

Request Information

URI Parameters

None.

Body Parameters

Data defining the Community Invitation to Accept. Currently comprised of the CommunityInvitationKey.

CommunityInvitationRequest
NameDescriptionTypeAdditional information
CommunityInvitationKey

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "CommunityInvitationKey": "24e95fc2-3083-47bb-8147-404fb2fe629a"
}

application/xml, text/xml

Sample:
<CommunityInvitationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HigherLogic.API.Models.Enterprise.Request">
  <CommunityInvitationKey>24e95fc2-3083-47bb-8147-404fb2fe629a</CommunityInvitationKey>
</CommunityInvitationRequest>

Response Information

Resource Description

Boolean indicating success or failure of the Invitation Acceptance.

Collection of boolean

Response Formats

application/json, text/json

Sample:
[
  true,
  true
]

application/xml, text/xml

Sample:
<ArrayOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <boolean>true</boolean>
  <boolean>true</boolean>
</ArrayOfboolean>