Skip to content

Login

POST
/v1/auth/login
curl --request POST \
--url http://localhost:8080/v1/auth/login \
--header 'Content-Type: application/json' \
--data '{ "email": "hello@example.com", "password": "example", "tenant_id": "example" }'
Media type application/json
LoginPayload
object
email
required
Email
string format: email
password
required
Password
string
>= 1 characters
tenant_id
Any of:
string
Example generated
{
"email": "hello@example.com",
"password": "example",
"tenant_id": "example"
}

Successful Response

Media type application/json
Response Login V1 Auth Login Post
object
key
additional properties
any
Example generated
{}

Validation Error

Media type application/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Example generated
{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example",
"input": "example",
"ctx": {}
}
]
}