Classic APIs
ClassicGroupsApi
batchDeclineGroupJoinRequests

batchDeclineGroupJoinRequests

Batch declines join requests.

Parameters

NameTypeDescription
groupIdIdentifierThe id of the group to batch decline join requests for.
userIdsArrayNonEmptyIfConstThe ids of the user to decline.

Example

const { data: success } = await ClassicGroupsApi.batchDeclineGroupJoinRequests({
  groupId: 5850082,
  userIds: [2655994471],
}); 

Endpoint

DELETE /v1/groups/{groupId}/join-requests