Retrieves a mobile device's properties.
HTTP request
GET https://admin.googleapis.com/admin/directory/v1/customer/{customerId}/devices/mobile/{resourceId}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
customerId |
The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the |
resourceId |
The unique ID the API service uses to identify the mobile device. |
Query parameters
Parameters | |
---|---|
projection |
Restrict information returned to a set of selected fields. |
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of MobileDevice
.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/admin.directory.device.mobile
https://www.googleapis.com/auth/admin.directory.device.mobile.action
https://www.googleapis.com/auth/admin.directory.device.mobile.readonly
For more information, see the Authorization guide.
Projection
Enums | |
---|---|
BASIC |
Includes only the basic metadata fields (e.g., deviceId, model, status, type, and status) |
FULL |
Includes all metadata fields |