# The WorkspaceAccessDetail object

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

## Attributes

- `principal_id` (int64, Beta)
  The internal ID of the principal (user/sp/group) in <Databricks>.
- `workspace_id` (int64, Beta)
  The workspace ID where the principal has access.
- `account_id` (string, Beta)
  The account ID parent of the workspace where the principal has access.
- `principal_type` (string, Beta)
  Possible values: `PRINCIPAL_TYPE_UNSPECIFIED`, `USER`, `SERVICE_PRINCIPAL`, `GROUP`
- `access_type` (string, Beta)
  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": "string",
  "access_type": "string",
  "status": "string",
  "permissions": [
    "string"
  ]
}
```


