Group Membership Requests—Private
Update the status of a request by a user to join a
private group or get information about a request to join a private group.
- Resource
-
1/chatter/group-membership-requests/requestId1/connect/communities/communityId/chatter/group-membership-requests/requestIdGet the requestId by making a POST request to /chatter/groups/groupId/members/requests.
- Available since version
- 27.0
- Requires Chatter
- Yes
- HTTP methods
- GET, HEAD, and PATCH
- Request body for PATCH
-
- Root XML tag
- <groupMembershipRequestUpdate>
- Properties
-
Name Type Description Available Version responseMessage String Use this property to provide a message to the user if their membership request is declined. The value of this property is used only when the value of the status property is Declined. The maximum length is 756 characters.
27.0 status String Valid values: - Accepted
- Declined
27.0
- Request parameters for PATCH
-
Parameter Name Type Description Available Since responseMessage String Use this property to provide a message to the user if their membership request is declined. The value of this property is used only when the value of the status property is Declined. The maximum length is 756 characters.
27.0 status String Valid values: - Accepted
- Declined
27.0 - Response body for GET or PATCH
- Group Membership Request
- Example for approving a request to join a private group using the request body
-
1{ "status " : "Accepted" } - Example for approving a request to join a private group using parameters
- This example updates a request to join a private group from Pending to Accepted.
1/services/data/v67.0/chatter/group-membership-requests/0I5D000000002fwKAA?status=Accepted