Skip to content

Instantly share code, notes, and snippets.

@JamesDLD
Created May 25, 2020 08:45
Show Gist options
  • Save JamesDLD/aa7bb1c942f63b2e1c1ed8be0b8a0053 to your computer and use it in GitHub Desktop.
Save JamesDLD/aa7bb1c942f63b2e1c1ed8be0b8a0053 to your computer and use it in GitHub Desktop.
Get Databricks Groups
# 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