curl --location --request POST 'https://demo.preprod.crego.ai/api/auth/login/' \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data-raw '{
"username": "******",
"password": "******",
"type": "staff"
}'{
"access": "{{access_token}}",
"refresh": "{{refresh_token}}",
"expires_in": 900,
"token_type": "Bearer",
"user": {
"id": "01KAAV7BB8XZCFW6KRKEYBG51C",
"username": "admin",
"email": "admin@crego.ai",
"first_name": "",
"last_name": "",
"type": "staff"
}
}