device_users
Creates, updates, deletes, gets or lists a device_users resource.
Overview
| Name | device_users |
| Type | Resource |
| Id | okta.devices.device_users |
Fields
The following fields are returned by SELECT queries:
- list_device_users
| Name | Datatype | Description |
|---|---|---|
created | string | Timestamp when device was created |
managementStatus | string | The management status of the device |
screenLockType | string | Screen lock type of the device |
user | object |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_device_users | select | subdomain | Lists all Users for a device by deviceId |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
subdomain | string | The domain of your organization. This can be a provided subdomain of an official okta domain (okta.com, oktapreview.com, etc) or one of your configured custom domains. (default: my-org) |
SELECT examples
- list_device_users
Lists all Users for a device by deviceId
SELECT
created,
managementStatus,
screenLockType,
user
FROM okta.devices.device_users
WHERE subdomain = '{{ subdomain }}' -- required
;