Step 2: Create a 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 created specifically for users in the LDAP directory. 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"=>"LDAP Gateway Population", "description"=>"Population for users having credentials in an external LDAP directory.", "passwordPolicy"=>{"id"=>"{{ldapGatewayPolicy}}"}}

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring
Content-Typestring