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: 

How to list my groups in unitity catalog via an API

Marco37
New Contributor III

I'm trying to list my groups in unity catalog via an API call, but it keeps giving the error "Bad Target"

My GET request is:
-https://adb-3676685197829242.2.azuredatabricks.net/api/2.1/accounts/cfb89269-0d9e-4235-b7985-455481b501a/scim/v2/Groups

I'm able to list my external locations:
-https://adb-3676645627829242.2.azuredatabricks.net/api/2.1/unity-catalog/external-locations

What am I doing wrong?

Information source:
https://docs.databricks.com/en/reference/scim-2-1.html

 

 

1 REPLY 1

Marco37
New Contributor III

Hi Kaniz,

I'm new to administering Databricks. What I'm trying to achieve is creating a powershell script that adds groups to (and lists groups from)
- Account console
    - User management
        - Groups

How can I achieve this by using an API call (or CLI if an API call is not possible)? Do you have an example?

Regards,
Marco

 

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