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

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;oneTimePassword&quot;:&quot;\u003cstring\u003e&quot;,&quot;state&quot;:{&quot;laboruma0f&quot;:{}}}