Step 11: Set user password

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

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

The request body specifies 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