Skip to main content

device_users

Creates, updates, deletes, gets or lists a device_users resource.

Overview

Namedevice_users
TypeResource
Idokta.devices.device_users

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
createdstringTimestamp when device was created
managementStatusstringThe management status of the device
screenLockTypestringScreen lock type of the device
userobject

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_device_usersselectsubdomainLists 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.

NameDatatypeDescription
subdomainstringThe 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

Lists all Users for a device by deviceId

SELECT
created,
managementStatus,
screenLockType,
user
FROM okta.devices.device_users
WHERE subdomain = '{{ subdomain }}' -- required;