User Groups
Add Members to User Group
Use this API to add users as members of a specific user group.
🗒 Things to Know
- When a user is added as a member of a user group, the user inherits the role and organization configured for that user group. If the user belongs to other user groups, the user will still retain existing membership with those groups in addition to their other existing roles and permissions.
- The userId of the users to be added to the user group can be specified in the request body in a comma separated list.
post/api/access/v1/user-groups/{userGroupId}/members
Path parameters
userGroupIdstring uuid required
The unique identifier of the user group.
Request body
Example request
{
"members": [
"550e8400-e29b-41d4-a716-446655440000"
],
"groupId": "a739211d-d216-4398-a1c2-f7a20412692d"
}Response
Created