Method: chromeosdevices.patch

Updates a device's updatable properties, such as annotatedUser, annotatedLocation, notes, orgUnitPath, or annotatedAssetId. This method supports patch semantics.

HTTP request

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

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.

deviceId

string

The unique ID of the device. The deviceIds are returned in the response from the chromeosdevices.list method.

Query parameters

Parameters
projection

enum (Projection)

Restrict information returned to a set of selected fields.

Request body

The request body contains an instance of ChromeOsDevice.

Response body

If successful, the response body contains an instance of ChromeOsDevice.

Authorization Scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.