Skip to main content

Account Transitive Parent Group

View as Markdown

A group in your Databricks account that a principal belongs to, either directly or through another group. To list a principal's parent groups, put the principal's resource name in the URL: GET /api/2.0/identity/accounts/{account_id}/principals/{principal_id}/transitive-parent-groups in account APIs, or GET /api/2.0/identity/principals/{principal_id}/transitive-parent-groups in workspace APIs.

TransitiveParentGroup object​

A group in your Databricks account that a principal belongs to, either directly or through another group. To list a principal's parent groups, put the principal's resource name in the URL: GET /api/2.0/identity/accounts/{account_id}/principals/{principal_id}/transitive-parent-groups in account APIs, or GET /api/2.0/identity/principals/{principal_id}/transitive-parent-groups in workspace APIs.

namestringIDImmutable

The resource name of the parent group, in one of these formats:

  • Account APIs: accounts/{account_id}/principals/{principal_id}/transitive-parent-groups/{group_id}
  • Workspace APIs: principals/{principal_id}/transitive-parent-groups/{group_id}
account_idstringOutput only

The ID of the account that contains the group.

group_idstringOutput only

The Databricks ID of the group.

external_idstringOutput only

The ID of the group in your identity provider (IdP).

List all transitive parent groups of a principal GA​

GET /api/2.0/identity/{parent=accounts/*/principals/*}/transitive-parent-groups

Lists every group that a user, service principal, or group belongs to, directly or through other groups, sorted by Databricks ID. Results combine memberships from every source: added in the UI, through the API, through SCIM provisioning, or synced from your identity provider (IdP) by automatic identity management. Only groups that exist in your Databricks account are returned, not every group that the principal belongs to in your IdP. If automatic identity management is on, only the principal's own group memberships are refreshed from your IdP before the list is read.

API scopes: identity

Parameters​

parentstringRequiredpath

The user, service principal, or group whose parent groups to list, in the format accounts/{account_id}/principals/{principal_id}.

Example: accounts/5d6c9a3e-2b4f-4e8a-9c1d-7f0b2a6e4c13/principals/6412798305127934

page_sizeint32query

The maximum number of groups to return, up to 1000. The default is 1000. A page can contain fewer groups.

page_tokenstringquery

The next_page_token from a previous response, to get the next page.

Response​

Returns a list of TransitiveParentGroup objects.