post https://api.banking.netevia.dev/changePassword
The POST https://api.banking.netevia.dev/changePassword API endpoint allows authenticated users to change their existing password. This endpoint ensures secure password management by requiring users to provide both their current password and a new password.
Functionality:
- Enables users to update their account password securely.
- The request requires authentication, ensuring that only authorized users can change their password.
- Users must provide their current password and a new password.
- Upon successful validation, the new password is set, and users can log in with it.
Key Features:
- Authentication Required: Ensures that only authorized users can change their password.
- Secure Password Update: Users must provide their current password and a strong new password.
- Error Handling: Provides clear error messages for invalid current passwords or weak new passwords.
- Password Strength: Enforces security policies such as requiring a strong password when setting a new one.
- Immediate Effect: Once the password is successfully changed, users can log in with the new credentials immediately.
This API ensures that users can securely manage their account credentials by updating their password in a safe and authenticated manner.