Token-based authentication must be enabled in order for users to generate and use personal access tokens to authenticate to the Databricks REST API. We strongly recommend token-based authentication instead of username and password. Personal access tokens have an expiration date and can be revoked.
Token-based authentication is enabled by default for all Databricks accounts launched after January 2018.
For more information about using token-based authentication, see Authentication using Databricks personal access tokens.
Go the Admin Console.
Select the Access Control tab.
Click the Enable button next to Personal Access Tokens.
Click Confirm to confirm the change. This change may take a few seconds to take effect.