# DeviceUser

Audience: Developer

## Services

| Service | Key | Implements |
| --- | --- | --- |
| [management](https://docs.pyck.cloud/dev/api/services/management.md) | value type | [NodeDataType](https://docs.pyck.cloud/dev/api/interfaces/nodedatatype.md) |

## Fields

**Served by:** [management](https://docs.pyck.cloud/dev/api/services/management.md)

| Name | Type | Description |
| --- | --- | --- |
| `id` | ID! |  |
| `tenantID` | [UUID](https://docs.pyck.cloud/dev/api/scalars/uuid.md)! |  |
| `dataTypeID` | [UUID](https://docs.pyck.cloud/dev/api/scalars/uuid.md) |  |
| `dataTypeSlug` | String |  |
| `data` | [Map](https://docs.pyck.cloud/dev/api/scalars/map.md) |  |
| `createdAt` | [Time](https://docs.pyck.cloud/dev/api/scalars/time.md)! |  |
| `createdBy` | [UUID](https://docs.pyck.cloud/dev/api/scalars/uuid.md)! |  |
| `updatedAt` | [Time](https://docs.pyck.cloud/dev/api/scalars/time.md) |  |
| `updatedBy` | [UUID](https://docs.pyck.cloud/dev/api/scalars/uuid.md) |  |
| `deletedAt` | [Time](https://docs.pyck.cloud/dev/api/scalars/time.md) |  |
| `deletedBy` | [UUID](https://docs.pyck.cloud/dev/api/scalars/uuid.md) |  |
| `deviceID` | ID! |  |
| `userID` | ID! |  |
| `device` | [Device](https://docs.pyck.cloud/dev/api/types/device.md)! |  |
| `user` | [User](https://docs.pyck.cloud/dev/api/types/user.md) | The live users row of the checked-in principal in this check-in's tenant.<br>Null when the principal has none there: not synced yet, or its access to<br>the tenant ended. A request with the showdeleted feature gets, after the<br>access ended, the principal's most recently removed row instead, its<br>deletedAt set. userID always holds the principal's token user id. |
