approveJoinRequests( )


Approves requests to join a group.

Note: This function is only relevant for private groups.

The approveJoinRequests() function returns a Promise that resolves when a site member's request to join a group is approved. Only site admins and group admins can approve site member requests to join a 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 approve site member requests to join a group.

Method Declaration
Copy
Method Parameters
identifiersIdentifiersRequired

Group ID and member IDs.


optionsOptions

Authorization options.

Returns
Return Type:Promise<Array<JoinRequest>>
Did this help?