Step 3: Create a population for Facebook users
POST {{apiPath}}/environments/{{envID}}/populations
To create a population for facebook users, the POST /environments/{{envID}}/populations
operation creates the new population in the environment specified by its ID in the request URL. The request body for the create population request specifies values for the name
property and an optional description
property. The population resource ID generated by this request is used in Step 5 to define the sign-on policy action.
Request Body
{"name"=>"FacebookUserPopulation_{{$timestamp}}", "description"=>"Population for facebook users"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | ||
Content-Type | string |