Update password

POST {{baseUrl}}/{{version}}/auth/update

This endpoint is used to update an existing password. When the user decides proactively to change their password to a new password, When an update password request is sent to the server side of the application, the following verification will proceed:

  • Identify the user credentials.

  • Identify if the new password meets the minimum requirement.

  • If the two above are verified, the server will update the password associated with the account.

Request Body

[{"name"=>"password_reset_token", "value"=>"{{passwordToken}}", "datatype"=>"string"}, {"name"=>"password", "value"=>"MyS3cur3P4ssw0rd", "datatype"=>"string"}, {"name"=>"password_confirmation", "value"=>"MyS3cur3P4ssw0rd", "datatype"=>"string"}, {"name"=>"email", "value"=>"myemail@email.com", "datatype"=>"string"}]

HEADERS

KeyDatatypeRequiredDescription
PassresettokenstringPassword token

RESPONSES

status: OK

{"error":false,"code":200,"message":"Your password has been updated."}