Step 13: Create a source user
POST {{apiPath}}/environments/{{sourceEnvID}}/users
Create a new user resource in the source environment using a POST {{apiPath}}/environments/{{sourceEnvID}}/users
request. In the request body, the email
and username
properties must be unique to the new user within the specified environment. Set the population.id
to the population created in step 11.
This operation does not support an attribute to set the new user's password. This will be done in the next steps.
- The source user's username can be retrieved from the
username
value returned in the response body. You will need this value in the next steps.
For more information, see Create User.
Request Body
{"email"=>"someone@ping.com", "name"=>{"given"=>"Joey", "family"=>"SimpleLoginUser"}, "population"=>{"id"=>"{{SourcePopID}}"}, "username"=>"source_user1"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | ||
Content-Type | string |