Approves pending join group requests. Group managers always have access to this functionality. In some cases, site owners will allow group members to use this functionality as well.
ID of the group requested to join.
IDs of the site members to approve.
Approved join group requests.
curl -X POST \
https://wixapis.com/social-groups/v2/groups/a4caf853-c0d7-498e-8eaa-3db36522dcbf/join-requests/approve \
-H 'Content-Type: application/json;charset=UTF-8' \
-H 'Authorization: <AUTH>'
-d '{
"siteMemberIds": [
"e6674661-f294-4f1f-9f22-bc11fa8164e7"
]
}'
{
"joinGroupRequests": [
{
"siteMemberId": "e6674661-f294-4f1f-9f22-bc11fa8164e7",
"status": "APPROVED"
}
]
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.