rejectJoinRequests( )


Rejects requests to join a group.

Note: This function is only relevant for private groups.

The rejectJoinRequests() function returns a Promise that resolves when the site member's request to join a group is rejected. Only site admins or group admins can reject site member requests to join the group, unless the group setting, membersCanApprove is set to true.

Note: If the suppressAuth option is set to true, all permissions are overwritten, and all site members (including non-group members) can reject site member requests to join a group.

Method Declaration
Copy
Method Parameters
groupIdstringRequired

ID of the group requested to join.


rejectionsArray<Rejection>Required

Rejection data.


optionsOptions

Authorization options.

Returns
Return Type:Promise<Array<JoinRequest>>
Was this helpful?
Yes
No