Adding or removing users in bulk can require many clicks. This pattern uses the Okta Pack to remove that requirement without needing to write a script for the API. You can even bulk-add users to multiple groups at once!
Instructions
If you have a CSV or table of user emails, you can drag or paste your list to a Coda doc, select the group you want to add/remove users to/from, and utilize a Button that pushes other buttons to make this a 1-click operation.
Paste your user email list into the table.
Select the group (you can highlight rows and copy paste the group value to avoid selecting the same group for every row).
Click the Add all to groups or Remove all from groups button .
Included are columns for the HTTP response (Add Result and Remove Result) in case there are problems with the API where a failed response is returned. That way, you can easily see which person was successfully or unsuccessfully added/removed to/from a group.