Created
May 25, 2020 08:45
-
-
Save JamesDLD/aa7bb1c942f63b2e1c1ed8be0b8a0053 to your computer and use it in GitHub Desktop.
Get Databricks Groups
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Get Databricks groups | |
$headers = @{ | |
"Authorization"="Bearer $apiKey"; | |
"Content-Type" = "application/scim+json"; | |
} | |
$uri = "$uriroot/2.0/preview/scim/v2/Groups" | |
$Groups = Invoke-RestMethod -Method 'Get' -Uri $uri -Headers $headers | |
$Groups.Resources |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment