Login
POST
/api/v1/auth/login
Authenticate with username and password. Returns a JWT token and the authenticated user.
Request Body required
Section titled “Request Body required ”object
username
string
password
string
Responses
Section titled “ Responses ”Login successful
object
token
string
user
object
username
string
role
string
email
string
createdAt
string
lastLoginAt
string
Invalid credentials
object
error
object
code
string
message
string
status
required
integer format: int32
Rate limited