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.

PropertyTypeRequired?
descriptionStringOptional
nameStringRequired
passwordPolicy.idStringOptional

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

KeyDatatypeRequiredDescription
Authorizationstring
Content-Typestring