Step 4: Add user to group
POST {{apiPath}}/environments/{{envID}}/users/{{GroupUseCaseUserID}}/memberOfGroups
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.
Request Body
{"id"=>"{{UseCaseGroupID}}"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | ||
Content-Type | string |