# Get

Launch stage: Beta

`GET /api/2.0/identity/workspace-identity-details/{principal_id}`

Returns the identity details for a principal in a workspace.

API scopes: identity

## Path parameters

- `principal_id` (int64, optional)
  Required. The internal ID of the principal (user/sp/group) for which the identity details are being requested.

## Returns

Returns the WorkspaceIdentityDetail object.

## Response

```json
{
  "principal_id": 0,
  "principal_type": "string",
  "workspace_identity_status": "string",
  "assignment_type": "string"
}
```

