POST
/
api
/
v1
/
auth
/
login
Login
curl --request POST \
  --url http://34.170.194.254:8000/api/v1/auth/login \
  --header 'Content-Type: application/json' \
  --data '
{
  "username": "<string>",
  "password": "<string>"
}
'
{
  "access_token": "<string>",
  "client_id": "<string>",
  "scopes": [
    "<string>"
  ],
  "token_type": "bearer"
}

Body

application/json

Login Request schema.

username
string
required

Login username

password
string
required

Login password

Response

Login success

Login Response schema.

access_token
string
required

Issued bearer access token

client_id
string
required

Client identifier associated with token

scopes
string[]
required

Granted scopes

token_type
string
default:bearer

Token type