Skip to main content
POST
Login Local User

Body

application/json
email
string
required

User email

Maximum string length: 255
password
string
required

User password

Required string length: 8 - 128
tenant_id
string<uuid> | null

Tenant to use when the user belongs to multiple tenants

Response

Successful Response

access_token
string
required

JWT access token

expires_in
integer
required

Token expiration time in seconds

user_id
string<uuid>
required

User's unique identifier

role
string
required

User's role in the tenant

token_type
string
default:bearer

Token type

tenant_id
string<uuid> | null

Active tenant ID