post https://api.banking.netevia.dev/changeLogin
The POST https://api.banking.netevia.dev/changeLogin API endpoint allows authenticated users to change their login nickname. This method ensures that users can securely update their login information by providing the necessary credentials.
Functionality:
- Allows users to change their login nickname.
- The request requires authentication and verification of the current nickname.
- Users must provide both their current and new nicknames.
- Upon successful validation, the login nickname is updated, and users can access their account using the new nickname.
Key Features:
- Authentication Required: Ensures that only authorized users can change their login nickname.
- Secure Nickname Update: Users must provide their current nickname and a new one to ensure secure changes.
- Error Handling: Provides clear error messages for invalid nicknames or if the new nickname is already taken.
- Immediate Effect: Once the nickname is successfully changed, users can log in with the new nickname immediately.
- Conflict Resolution: Prevents users from setting a nickname that is already in use by another account.
This API enables users to manage their login details by securely updating their nickname while ensuring that proper validation and error handling mechanisms are in place.