• Databricks Community
  • Get Started Discussions
  • Re: How to change the OAuth token lifetime and the...

szymon_dybczak
szymon_dybczak
Esteemed Contributor III
Options
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Report Inappropriate Content

‎08-12-2024 08:38 PM

Hi @minhngc4795 ,

You can use below REST API endpoint to do that: 

https://docs.databricks.com/api/workspace/tokenmanagement/createobotoken

More info you can find at below article: 

https://kb.databricks.com/security/set-an-unlimited-lifetime-for-service-principal-access-token

0 Kudos
Reply
Powered by Khoros