Skip to main content
POST

Body

application/json
username
string
required

User's login username

Example:

"admin"

password
string<password>
required

User's password

session
boolean
default:false

Set to true to receive session cookie instead of bearer token

Example:

false

Response

Login successful

token
string

Bearer token (only present when session is false/omitted)

Example:

"random123Token456xyz"