Step 10: Set user password
PUT {{apiPath}}/environments/{{envID}}/users/{{MFAUserID}}/password
The POST /environments/{{envID}}/users/{{userID}}/password operation set a new password for the user you created in Step 9. 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
| Key | Datatype | Required | Description |
|---|---|---|---|
Authorization | string | ||
Content-Type | string |