Endpoint
POST /api/users/login
Request Body
The username of the account to authenticate.
The account password for authentication.
Response
Success response (200 OK)Confirmation message: “Login successful”
The unique ID of the authenticated user
The username of the authenticated user
Example Request
Example Response
Error Responses
401 Unauthorized - Invalid Credentials
- The username does not exist in the system
- The password does not match the stored password
