Cloud APIs
GroupsApi
acceptGroupJoinRequest

acceptGroupJoinRequest

Accepts a group join request.

Parameters

NameTypeDescription
groupIdIdentifierThe id of the group to accept a join request for.
userIdIdentifierThe id of the user to accept into the group.

Example

const { data: success } = await GroupsApi.acceptGroupJoinRequest({ groupId: 5850082, userId: 2655994471 }); 

Endpoint

POST /v2/groups/{groupId}/join-requests/{userId}:accept