change Password With Id
POST {{baseUrl}}/api/user/change-password/:changePasswordId
Changes a user's password using the change password Id. This usually occurs after an email has been sent to the user and they clicked on a link to reset their password. As of version 1.32.2, prefer sending the changePasswordId in the request body. To do this, omit the first parameter, and set the value in the request body.
Request Body
{"applicationId"=>"<uuid>", "changePasswordId"=>"<string>", "currentPassword"=>"<string>", "loginId"=>"<string>", "password"=>"<string>", "refreshToken"=>"<string>", "trustChallenge"=>"<string>", "trustToken"=>"<string>", "eventInfo"=>{"deviceDescription"=>"<string>", "deviceName"=>"<string>", "deviceType"=>"<string>", "ipAddress"=>"<string>", "location"=>{"city"=>"<string>", "country"=>"<string>", "latitude"=>"<double>", "longitude"=>"<double>", "region"=>"<string>", "zipcode"=>"<string>", "displayString"=>"<string>"}, "os"=>"<string>", "userAgent"=>"<string>"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"oneTimePassword":"\u003cstring\u003e","state":{"laboruma0f":{}}}