Step 5: Set user password

PUT {{apiPath}}/environments/{{envID}}/users/{{appUserID}}/password

The PUT /environments/{{envID}}/users/{{userID}}/password operation sets a new password for the user you created in Step 4. The request requires the application/vnd.pingidentity.password.set+json custom content type set in the Content-Type HTTP header.

The request body sets the new password in the value property. In this use case, the forceChange property is set to false.

Request Body

{"value"=>"{{userPassword}}", "forceChange"=>false}

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring
Content-Typestring