Cloud APIs
GroupsApi
declineGroupJoinRequest

declineGroupJoinRequest

Declines a group join request.

Parameters

NameTypeDescription
groupIdIdentifierThe id of the group to decline a join request for.
userIdIdentifierThe id of the user to decline from the group.

Example

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

Endpoint

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