Skip to content

Login For Access Token

POST
/api/v1/auth/login
Body_login_for_access_token_api_v1_auth_login_post
object
grant_type
Any of:
string
/password/
username
required
Username
string
password
required
Password
string
scope
Scope
string
""
client_id
Any of:
string
client_secret
Any of:
string

Successful Response

Token
object
access_token
required
Access Token
string
token_type
required
Token Type
string

Validation Error

HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string