Creating and maintaining public groups, including adding or removing group members is usually done through the UI within Setup. You can also add or remove users from a group through the API using any API client of your choice.
For public groups with large number of members, (over 10k users), we recommend using the API or user access policies (beta) to either add or remove users. If you need to use the Group UI within Setup, you can log a case with Salesforce Customer Support.
For public groups with a large number of members, it is recommended to use the GroupMember API to add or remove members using any API tool of your choice (Workbench, Data Loader, etc...).
Set up the user access policy to target users that meet certain criteria, then add them to or remove them from the specified public group.
If you need to use the UI within Setup to edit a large group, you may log a case with Salesforce Customer Support and request the enablement of a modified UI for managing public group membership. This UI is only used for public groups with at least 2,000 members. When enabled, instead of having a single page to add/remove members, there will be two pages: one to add users; another to remove users. On the Public Group Edit page, click the "view and delete members" to open another page where you can delete group members.
Please include the following in the case description:
Related:
Create and Edit Groups within Setup
Manage public group membership with Data Loader
000393819

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.