login
user Login
POST
/users/login
<Description of the endpoint>
Headers
Name
Value
Content-Type
application/json
Authorization
Bearer <token>
Request-Body
Name
Type
Description
id
string
user ID
password
string
password of the user
Response
{
"message": "Login successful",
"accessToken": "eyJhbGciOiJIUzI1NiIsInR5c...", // JWT token
}
Last updated