Step 1: Create a group
POST {{apiPath}}/environments/{{envID}}/groups
This example shows the POST /environments/{{envID}}/groups operation to create a new user group. 
In this request:
{{envID}}represents your environment ID.The request body requires the
nameproperty. Thedescriptionproperty is optional.The
userFilterproperty defines a filter to dynamically add users to a group. In this case, the user'stypeproperty is set toSAMLuser. The user is then assigned membership to this group automatically.The request returns a
Status: 201 createdmessage and shows the new group's configuration data.The response data includes the group's
idproperty. This property value is needed to implement theaccessControlfeature in the SAML application.
See the following topics to learn more about populations:
Request Body
{"name"=>"SAML_Users{{$timestamp}}", "description"=>"SAML app users group", "customData"=>{"groupOwner"=>"Tom Jones", "securityGroup"=>true}, "userFilter"=>"type eq \"SAMLuser\""}
HEADERS
| Key | Datatype | Required | Description | 
|---|---|---|---|
Authorization | string | ||
Content-Type | string |