Skip to content

List all users for a device

Request

Identity Engine
OAuth 2.0 scope:
  • okta.devices.read

Lists all Users for a device by deviceId

Path
deviceIdstringrequired

id of the device

Example:guo4a5u7JHHhjXrMK0g4
curl -i -X GET \
  https://subdomain.okta.com/api/v1/devices/guo4a5u7JHHhjXrMK0g4/users

Responses

Success

Bodyapplication/json
Array [
createdstring

Timestamp when device was created

managementStatusstring

The management status of the device

Enum ValueDescription
MANAGED

The device has management software installed

NOT_MANAGED

The device doesn't have management software installed

screenLockTypestring

Screen lock type of the device

Enum:"NONE""PASSCODE""BIOMETRIC"
userobject(User)
]
Response
[ { "created": "2021-08-20T17:13:35.000Z", "managementStatus": "NOT_MANAGED", "screenLockType": "BIOMETRIC", "user": { … } } ]