How to list my groups in unitity catalog via an API

Marco37
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

 

 

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