Managing databricks workspace permissions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2024 07:50 PM
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,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2024 03:21 AM
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.

