Step 11: Create user

POST {{apiPath}}/environments/{{envID}}/users

The POST /environments/{{envID}}/users operation creates the new user resource in the specified environment. The user is associated with a population created in Step 10.

The request body for the POST to create the new user must provide values for these required properties:

  • email

The unique email address for the new user.

  • username

A name for the new user that must be unique within the specified environment.

  • population.id

The population to associate with the new user resource.

Request Body

{"email"=>"{{email}}", "preferredLanguage"=>"en", "name"=>{"given"=>"Test", "family"=>"MFAUser"}, "population"=>{"id"=>"{{MFAPopID}}"}, "username"=>"MFA_user_{{$timestamp}}"}

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring
Content-Typestring