Step 2: Create Population
POST {{apiPath}}/environments/{{envID}}/populations
Use POST /environments/{{envID}}/populations/ to create a new population resource in the specified environment.
Here, we'll set the password policy to the one we just created. If we don't specify a password policy, the population uses the default password policy for the environment.
| Property | Type | Required? |
|---|---|---|
description | String | Optional |
name | String | Required |
passwordPolicy.id | String | Optional |
See the Populations data model for full property descriptions.
Request Body
{"name"=>"Population for Same Day Policy", "description"=>"Time-restricted password policy for this population.", "passwordPolicy"=>{"id"=>"{{passwordPolicyID}}"}}
HEADERS
| Key | Datatype | Required | Description |
|---|---|---|---|
Authorization | string | ||
Content-Type | string |