Recover Password
POST {{authPath}}/{{envID}}/flows/{{flowID}}
The POST /{{envID}}/flows/{{flowID}}
operation initiates an action to recover the account and set a new password. The request body requires the recoveryCode
and newPassword
attributes. This operation uses the application/vnd.pingidentity.password.recover+json
custom media type as the content type in the request header. The password recovery code is 8 alphanumeric characters. The timeout for password recovery is 5 minutes. These attributes are not configurable.
Prerequisites
See Flows for important overview information.
Send an authorize request to get a flow ID: Authorize. See also PingOne basic login authentication flow and Authentication workflow walkthrough.
Start the flow: Read Flow.
See also the
RECOVERY_CODE_REQUIRED
flow state in the Flow status values table.
Property | Type | Required? |
---|---|---|
recoveryCode | String | Required |
newPassword | String | Required |
Request Body
{"recoveryCode"=>"xxxxxx", "newPassword"=>"{{newPassword}}"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Cookie | string |