Step 15: 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 14. 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.
Note: If you use the Qodex collection to explore this use case, be aware that in this step there is a script that automatically sets the value of the user password at runtime. No input is necessary if you wish to use the predefined password.
Request Body
{"value"=>"{{userPassword}}", "forceChange"=>false}
HEADERS
| Key | Datatype | Required | Description |
|---|---|---|---|
Authorization | string | ||
Content-Type | string |