User Authentication
POST
/auth/login
Authenticates a user with username and password, optionally with TOTP code for two-factor authentication. Returns a session token that can be used for subsequent authenticated requests.
Request Body
application/json
JSON
{
"username": "string",
"password": "string",
"code": 0
}
Responses
Authentication successful with session token
application/json
JSON
{
}