Workspace Access
The details of a principal's access to a workspace.
WorkspaceAccessDetail object
The details of a principal's access to a workspace.
- principal_idint64BetaOutput only
The internal ID of the principal (user/sp/group) in <Databricks>.
- workspace_idint64BetaOutput only
The workspace ID where the principal has access.
- account_idstringBetaOutput only
The account ID parent of the workspace where the principal has access.
- principal_typestringBetaOutput only
The type of the principal (user/sp/group).
PRINCIPAL_TYPE_UNSPECIFIEDUSERSERVICE_PRINCIPALGROUP
- access_typestringBetaOutput only
The type of access the principal has to the workspace.
ACCESS_TYPE_UNSPECIFIEDDIRECTINDIRECT
- statusstringBeta
The activity status of the principal in the workspace. Not applicable for groups at the moment.
STATE_UNSPECIFIEDACTIVEINACTIVE
- permissionsarray of stringBeta
The permissions granted to the principal in the workspace.
WORKSPACE_PERMISSION_UNSPECIFIEDUSER_PERMISSIONADMIN_PERMISSION
Get workspace access details for a principal Beta
GET
Returns the access details for a principal in the current workspace. Allows for checking access details for any provisioned principal (user, service principal, or group) in the current workspace.
- Provisioned principal here refers to one that has been synced into <Databricks> from the customer's IdP or added explicitly to <Databricks> via SCIM/UI. Allows for passing in a "view" parameter to control what fields are returned (BASIC by default or FULL).
API scopes: identity
Parameters
- principal_idint64Requiredpath
Required. The internal ID of the principal (user/sp/group) for which the access details are being requested.
- viewstringquery
Controls what fields are returned.
WORKSPACE_ACCESS_DETAIL_VIEW_UNSPECIFIEDBASICFULL
Response
Returns the WorkspaceAccessDetail object.