Method: mobiledevices.get

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

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.

Query parameters

Parameters
projection

enum (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 OAuth 2.0 Overview.

Projection

Enums
PROJECTION_UNDEFINED
BASIC Includes only the basic metadata fields (e.g., deviceId, model, status, type, and status)
FULL Includes all metadata fields