Log in with username and password
POST /auth/login
POST
/auth/login
Validates credentials and sets the session cookie. Subject to per-IP
rate limiting and per-user/per-IP lockout.
Request Body required
Section titled “Request Body required ”object
username
required
string
password
required
string
Responses
Section titled “ Responses ”Login succeeded; session cookie set.
object
username
string
role
string
Headers
Section titled “Headers ” Set-Cookie
string
HttpOnly session cookie.
Invalid request.
string
Missing or invalid credentials.
string
Rate limited or locked out.
string