cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Administration & Architecture
Explore discussions on Databricks administration, deployment strategies, and architectural best practices. Connect with administrators and architects to optimize your Databricks environment for performance, scalability, and security.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Managing databricks workspace permissions

Learnit
New Contributor II

I need assistance with writing API/Python code to manage a Databricks workspace permissions database(unity catalog). The task involves obtaining a list of workspace details from the account console, which includes various details like Workspace name, Id, user Permission Type, Service principal permissions and their list for the workspaces etc. I'm looking for efficient methods for data insertion, updating, and querying within this database. Any advice or code examples relevant to this context would be greatly appreciated.

Thanks,

1 REPLY 1

mark_ott
Databricks Employee
Databricks Employee

Here's a start.  

https://docs.databricks.com/api/workspace/workspacebindings/updatebindings

As far as coding, I use CURL.  See attachment as to the syntax.  Note the example in the attachment is for Workspace notebooks, as opposed to Workspace environments which you are interested.

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local communityโ€”sign up today to get started!

Sign Up Now