batchDeclineGroupJoinRequests
Batch declines join requests.
Parameters
Name | Type | Description |
---|---|---|
groupId | Identifier | The id of the group to batch decline join requests for. |
userIds | ArrayNonEmptyIfConst | The ids of the user to decline. |
Example
const { data: success } = await ClassicGroupsApi.batchDeclineGroupJoinRequests({
groupId: 5850082,
userIds: [2655994471],
});
Endpoint
DELETE /v1/groups/{groupId}/join-requests