AI-generated Key Takeaways
-
This method retrieves the IDs of all devices for a specific user within an enterprise.
-
The request uses an HTTP GET method and requires authorization with the
https://www.googleapis.com/auth/androidenterprisescope. -
Path parameters
enterpriseIdanduserIdare required in the request URL. -
The response, if successful, includes a list of device resources.
Retrieves the IDs of all of a user's devices.
Request
HTTP request
GET https://www.googleapis.com/androidenterprise/v1/enterprises/ enterpriseId /users/ userId /devices
Parameters
enterpriseId
string
userId
string
Authorization
This request requires authorization with the following scope:
| Scope |
|---|
https://www.googleapis.com/auth/androidenterprise
|
For more information, see the authentication and authorization page.
Request body
Do not supply a request body with this method.
Response
If successful, this method returns a response body with the following structure:
{ "kind" : "androidenterprise#devicesListResponse" , "device" : [ devices Resource ] }
| Property name | Value | Description | Notes |
|---|---|---|---|
device[]
|
list
|
A managed device. | |
kind
|
string
|
Identifies what kind of resource this is. Value: the fixed string "androidenterprise#devicesListResponse"
. |

