post https://api.banking.netevia.dev/v2/restorePassword
The POST /v2/restorePassword API endpoint allows users to securely update their current password by providing their current password and setting a new one. This endpoint ensures that users can manage their passwords effectively while maintaining account security.
Purpose:
- Validating the user’s current password.
- Setting a new password to replace the old one.
- Ensuring password updates follow security and authentication protocols.
Response:
If the current password is correct and the new password meets security criteria, the API will successfully update the password. If the current password is incorrect, or if the new password is weak or fails validation, an error will be returned.
Key Features:
- Password Change Validation: Requires users to provide their current password for security, ensuring only authorized users can change the password.
- New Password Security: The new password must meet strength and complexity requirements (e.g., minimum length, combination of letters, numbers, and symbols).
- Error Handling: Provides clear error messages for incorrect current passwords, weak new passwords, and authentication failures.
- Real-Time Updates: Password changes take effect immediately, enhancing security and convenience for users.