Mobiledevices: get

Requires authorization

Retrieves a mobile device's properties. Try it now.

Request

HTTP request

GET https://www.googleapis.com/admin/directory/v1/customer/customerId/devices/mobile/resourceId

Parameters

Parameter name Value Description
Path parameters
customerId string The unique ID for the customer's G Suite account. As an account administrator, you can also use the my_customer alias to represent your account's customerId. The customerId is also returned as part of the Users resource.
resourceId string The unique ID the API service uses to identify the mobile device.
Optional query parameters
projection string Restrict information returned to a set of selected fields.

Acceptable values are:
  • "BASIC": Includes only the basic metadata fields (e.g., deviceId, model, status, type, and status)
  • "FULL": Includes all metadata fields

Authorization

This request requires authorization with at least one of the following scopes (read more about authentication and authorization).

Scope
https://www.googleapis.com/auth/admin.directory.device.mobile.readonly
https://www.googleapis.com/auth/admin.directory.device.mobile
https://www.googleapis.com/auth/admin.directory.device.mobile.action

Request body

Do not supply a request body with this method.

Response

If successful, this method returns a Mobiledevices resource in the response body.

Try it!

Use the APIs Explorer below to call this method on live data and see the response.

Send feedback about...

Directory API
Directory API
Need help? Visit our support page.