removeGroupMembers( )


Removes members from a group.

The removeGroupMembers() function returns a Promise that resolves when the member is removed from the group.

Note: Only site admins and group admins can remove members from their group.

Method Declaration
Copy
Method Parameters
groupIdstringRequired

Group ID.


memberIdsArray<string>Required

IDs of the site members to remove from the group.


optionsRemoveGroupMembersOptions
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?