The POST /environments/{{envID}}/users/{{userID}}/memberOfGroups
operation directly adds one user to a specified group. The group ID is indicated in the body of the request. For more information on adding users to groups, see Adding users to groups.
For more information about groups, see Groups.
Admins cannot add or remove themselves from a a group with admin roles.
See Users for important overview information.
Create a user to get a userID
. See Create User. Run Read User or Users to find an existing user.
Create a user group to get a groupID
. See Create Group. Run Read All Groups to find an existing group.
Property | Type | Required? |
---|---|---|
id |
String | Required |
See the Groups data model for full property descriptions.