cancel
Showing results for 
Search instead for 
Did you mean: 
Get Started Discussions
Start your journey with Databricks by joining discussions on getting started guides, tutorials, and introductory topics. Connect with beginners and experts alike to kickstart your Databricks experience.
cancel
Showing results for 
Search instead for 
Did you mean: 

What is the quota limit for using create user token api?

Surajv
New Contributor III

Hi Community, 

I was going through this doc: https://docs.databricks.com/api/workspace/tokens/create to and got to know, that there is a quota limit to how many token one can generate using the api: POST /api/2.0/token/create, having breached the threshold - one may get: QUOTA_EXCEEDED error.

Q1: What is and how to find out the quota limit?

Q2: Is this token quota limit the total no. of active tokens in the system which have not expired (or) total no. of tokens created in a day + total tokens revoked in a day (or) total no. of tokens created in a day?

 

2 REPLIES 2

Databricks_love
New Contributor II

Databricks API Error: QUOTA_EXCEEDED - Token quota exceeded (600 tokens)

Alberto_Umana
Databricks Employee
Databricks Employee

Hello@Surajv,

Q1: What is and how to find out the quota limit?

The quota limit for creating user tokens via the API (POST /api/2.0/token/create) is essential to manage token usage. Each user can have multiple personal access tokens in a Databricks workspace, but the maximum number of personal access tokens per user is limited to 600 per workspace. If you exceed this quota, you may encounter a QUOTA_EXCEEDED error when attempting to create additional tokens.

Q2: Is this token quota limit the total no. of active tokens in the system which have not expired (or) total no. of tokens created in a day + total tokens revoked in a day (or) total no. of tokens created in a day?

The token quota limit pertains to the total number of active tokens in the system. This includes tokens that have not expired, as well as tokens created. Revoked tokens are no longer active and therefore do not count towards this limit

Managing tokens effectively ensures secure access to your Databricks resources. If you need to create more tokens, consider cleaning up unused or expired tokens to stay within the quota limits.

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group