Auth
Log in
Logs in the user and creates an active session
post/auth/simple/login
Request body
Example request
{
"username": "user",
"password": "hunter2"
}Response
userSchema
Example response
{
"id": 123,
"name": "User",
"email": "user@example.com",
"username": "hunter",
"imageUrl": "https://example.com/242x200.png",
"inviteLink": "http://localhost:4242/invite-link/some-secret",
"loginAttempts": 3,
"rootRole": 1,
"seenAt": "2023-06-30T11:42:00.345Z",
"createdAt": "2023-06-30T11:41:00.123Z",
"accountType": "User",
"scimId": "01HTMEXAMPLESCIMID7SWWGHN6",
"seatType": "Regular",
"companyRole": "Developer",
"activeSessions": 2,
"deletedSessions": 1
}