auth
User login
Authenticate user with email and password, returns JWT token
post/auth/login
Request body
Example request
{
"email": "admin@example.com",
"password": "password123"
}Response
Login successful
Example response
{
"access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"user_id": 1,
"name": "John Doe",
"email": "admin@example.com",
"roles": [
"admin"
]
}Changes
No recorded changes to this endpoint across all 1 revision of this API.