ChangePassword

Note: You must enable the password reset feature and SMTP server on your FintechOS platform for this feature to work.

This request changes your user account password. You will need a password reset token that you can obtain by email either by clicking the Forgot Password link on the login page or by using the SendResetPassword API endpoint.

You can use the reset token only once before it expires. The token expiry time is set by the PasswordResetExpiration parameter in the web.config file.

Syntax

Copy
GET <host_address>/api/Authorize/ChangePassword?username=<username>&resetToken=<password_reset_token>&newPassword=<password>
 
Parameter Description
host_address URL of the FintechOS platform server.
username Username of an existing user account on the FintechOS platform.
password_reset_token Password reset token received by email. For details, see SendResetPassword.
password New account password.

Response

{
	"1": "Success",
}
 
Key Description
1 Success - Indicates the password has been reset successfully.
2 UserNotFound - Indicates the user account was not found. Make sure you entered the correct username.
3 PasswordExpired - The password reset token has expired. See SendResetPassword for information on how to get a new password reset token.
4 UserUnauthorized
5 UserBlocked
6 MembershipError
7 Error
8 SuccessRedirect

Examples

Errors

Error 404 - Not Found

Error 500 - Internal Server Error