User16753724663
Databricks Employee
Databricks Employee

We can use below API to create a token and use the username and password

curl -X POST -u "admin_email":"xxxx" https://host/api/2.0/token/create -d'
{
 "lifetime_seconds": 100,
 "comment": "this is an example token"
}'

View solution in original post