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
Contributor

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

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