Skip to content
BluFiles Docs
Search
K
Main Navigation
Guide
API Reference
Appearance
Menu
Return to top
Log in
POST
/api/auth/login
Authenticates with a username and password and returns a session token.
Request Body
application/json
Schema
JSON
JSON
{
"username"
:
"string"
,
"password"
:
"string"
}
Responses
200
400
401
OK
Content-Type
application/json
Schema
JSON
JSON
{
"token"
:
"string"
,
"user"
:
{
"id"
:
"string"
,
"username"
:
"string"
}
}
POST
/api/auth/login
Playground
Server
Select a server...
Body
Try it out
Samples