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.

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