Step 6: Create a population
POST {{apiPath}}/environments/{{envID}}/populations
This example shows the POST /environments/{{envID}}/populations
operation to create a new population.
In this request:
{{envID}}
represents your environment ID.The request body requires the
name
property. Thedescription
property is optional.The request returns a
Status: 201 created
message, and shows the new population's configuration data.The response data includes the population's
id
property. This is needed to create the new user in a subsequent step.
See the following topics to learn more about populations:
Request Body
{"name"=>"samlPopulation_{{$timestamp}}", "description"=>"Population for a SAML app user"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | ||
Content-Type | string |