Chromeosdevices: patch

Requires authorization

Updates a device's annotatedUser, annotatedLocation, or notes properties. This method supports patch semantics. Try it now.

Request

HTTP request

PATCH https://www.googleapis.com/admin/directory/v1/customer/customerId/devices/chromeos/deviceId

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.
deviceId string The unique ID of the device. The deviceIds are returned in the response from the chromeosdevices.list method.
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, serialNumber, status, and user)
  • "FULL": Includes all metadata fields

Authorization

This request requires authorization with the following scope (read more about authentication and authorization).

Scope
https://www.googleapis.com/auth/admin.directory.device.chromeos

Request body

In the request body, supply the relevant portions of a Chromeosdevices resource, according to the rules of patch semantics.

Response

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

Try it!

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