---
title: "GET /v1/devices/{devicesId}/deviceUsers"
method: GET
path: "/v1/devices/{devicesId}/deviceUsers"
tags: ["devices"]
---

# GET /v1/devices/{devicesId}/deviceUsers

`GET /v1/devices/{devicesId}/deviceUsers`

## Request

- Base URL: `https://cloudidentity.googleapis.com`
- URL: `https://cloudidentity.googleapis.com/v1/devices/{devicesId}/deviceUsers`
- Auth: one of:
  - OAuth 2 and OAuth 2
    - Implicit: `https://accounts.google.com/o/oauth2/auth`
    - Scopes: `https://www.googleapis.com/auth/cloud-identity.devices`
    - Authorization code: `https://accounts.google.com/o/oauth2/auth`
    - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/cloud-identity.devices`
  - OAuth 2 and OAuth 2
    - Implicit: `https://accounts.google.com/o/oauth2/auth`
    - Scopes: `https://www.googleapis.com/auth/cloud-identity.devices.readonly`
    - Authorization code: `https://accounts.google.com/o/oauth2/auth`
    - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/cloud-identity.devices.readonly`

Lists/Searches DeviceUsers.

## Path parameters

- `devicesId` string, required

## Query parameters

- `$.xgafv` '1' | '2'
- `access_token` string
- `alt` 'json' | 'media' | 'proto'
- `callback` string
- `fields` string
- `key` string
- `oauth_token` string
- `prettyPrint` boolean
- `quotaUser` string
- `uploadType` string
- `upload_protocol` string
- `customer` string
- `filter` string
- `orderBy` string
- `pageSize` integer
- `pageToken` string

## Response `200`

Successful response

- GoogleAppsCloudidentityDevicesV1ListDeviceUsersResponse: Response message that is returned from the ListDeviceUsers method.
  - `deviceUsers` GoogleAppsCloudidentityDevicesV1DeviceUser[]: Devices meeting the list restrictions.
    - `compromisedState` 'COMPROMISED_STATE_UNSPECIFIED' | 'COMPROMISED' | 'NOT_COMPROMISED': Compromised State of the DeviceUser object
    - `createTime` string, google-datetime: When the user first signed in to the device
    - `firstSyncTime` string, google-datetime: Output only. Most recent time when user registered with this service.
    - `languageCode` string: Output only. Default locale used on device, in IETF BCP-47 format.
    - `lastSyncTime` string, google-datetime: Output only. Last time when user synced with policies.
    - `managementState` 'MANAGEMENT_STATE_UNSPECIFIED' | 'WIPING' | 'WIPED' | 'APPROVED' | 'BLOCKED' | 'PENDING_APPROVAL' | 'UNENROLLED': Output only. Management state of the user on the device.
    - `name` string: Output only. [Resource name](https://cloud.google.com/apis/design/resource_names) of the DeviceUser in format: `devices/{device}/deviceUsers/{device_user}`, where `device_user` uniquely identifies a user's use of a device.
    - `passwordState` 'PASSWORD_STATE_UNSPECIFIED' | 'PASSWORD_SET' | 'PASSWORD_NOT_SET': Password state of the DeviceUser object
    - `userAgent` string: Output only. User agent on the device for this specific user
    - `userEmail` string: Email address of the user registered on the device.
  - `nextPageToken` string: Token to retrieve the next page of results. Empty if there are no more results.

## Changes

- **2026-11-18** `7be184a4f032`: 4 info
  - the security scope `https://www.googleapis.com/auth/cloud-identity.devices` was added to the endpoint's security scheme `Oauth2`
  - the security scope `https://www.googleapis.com/auth/cloud-identity.devices` was added to the endpoint's security scheme `Oauth2c`
  - the security scope `https://www.googleapis.com/auth/cloud-identity.devices.readonly` was removed from the endpoint's security scheme `Oauth2`
  - the security scope `https://www.googleapis.com/auth/cloud-identity.devices.readonly` was removed from the endpoint's security scheme `Oauth2c`

[Operation history](https://skmtc.dev/google/apis/cloudidentity/changes/v1/devices/:devicesId/deviceUsers/get.md)

---

[API](https://skmtc.dev/google/apis/cloudidentity.md) - [All operations](https://skmtc.dev/google/apis/cloudidentity/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/cloudidentity/revisions/7be184a4f032?raw)
