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.