Logo
30 days challenge API Documentation

user

Number of APIs: 5


1. Update User Information

PUT {{baseUrl}}/user

Authenticated users can update their user information.



2. Create User

POST {{baseUrl}}/user

Register a new user with The Good Bank. The username must be unique.



3. User Change Password

POST {{baseUrl}}/user/change-password

This API is used to update the user password. The user must be authenticated and must remember the current password to update.



4. User Logout

GET {{baseUrl}}/user/logout

This API revokes an active user session.



5. User Login

POST {{baseUrl}}/user/login



ENDPOINTS