# The WorkspaceAccessDetail object

The details of a principal's access to a workspace.

## Attributes

- `principal_id` (int64, Beta, Output only)
  The internal ID of the principal (user/sp/group) in Databricks.
- `workspace_id` (int64, Beta, Output only)
  The workspace ID where the principal has access.
- `account_id` (string, Beta, Output only)
  The account ID parent of the workspace where the principal has access.
- `principal_type` (string, Beta, Output only)
  Possible values:
  - `PRINCIPAL_TYPE_UNSPECIFIED`
  - `USER`
  - `SERVICE_PRINCIPAL`
  - `GROUP`
- `access_type` (string, Beta, Output only)
  Possible values:
  - `ACCESS_TYPE_UNSPECIFIED`
  - `DIRECT`
  - `INDIRECT`
- `status` (string, Beta)
  The activity status of the principal in the workspace. Not applicable for groups at the moment.
  Possible values:
  - `STATE_UNSPECIFIED`
  - `ACTIVE`
  - `INACTIVE`
- `permissions` (array of string, Beta)
  The permissions granted to the principal in the workspace.
  Possible values:
  - `WORKSPACE_PERMISSION_UNSPECIFIED`
  - `USER_PERMISSION`
  - `ADMIN_PERMISSION`

## Example

```json
{
  "principal_id": 0,
  "workspace_id": 0,
  "account_id": "string",
  "principal_type": "USER",
  "access_type": "DIRECT",
  "status": "ACTIVE",
  "permissions": [
    "USER_PERMISSION"
  ]
}
```


