Create a Group and Add a User
This activity shows you how to create a group and assign a user to that group. By default, groups are created at the environment level. Groups can also be created per population. This workflow creates an environment-level group and then calls the /users/{{userID}}/memberOfGroups endpoint to associate the specified user with the group.
Prerequisites
Get an access token from the worker application that you created in Create an admin Worker app connection. To get a token from a different worker application in an alternate sandbox environment, run the token request endpoint using the client ID and client secret of your chosen worker app to authenticate the request. For more information, refer to Get a PingOne admin access token.
Click the Run in Postman button below to fork, or download and import, the Postman collection for this workflow to your workspace.