Account Transitive Parent Group
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 APIs:
- 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
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}.
- 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_tokenfrom a previous response, to get the next page.
Response
Returns a list of TransitiveParentGroup objects.