Method: chromeosdevices.action

Takes an action that affects a Chrome OS Device. This includes deprovisioning, disabling, and re-enabling devices.

HTTP request

POST https://admin.googleapis.com/admin/directory/v1/customer/{customerId}/devices/chromeos/{resourceId}/action

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
customerId

string

The unique ID for the customer's Google Workspace 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 of the device. The resourceIds are returned in the response from the chromeosdevices.list method.

Request body

The request body contains an instance of ChromeOsDeviceAction.

Response body

If successful, the response is a generic HTTP response whose format is defined by the method.

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.

ChromeOsDeviceAction

JSON representation
{
  "action": string,
  "deprovisionReason": string
}
Fields
action

string

chromeosdevices.action to be taken on the Chrome OS device.

deprovisionReason

string

Only used when the action is deprovision. With the deprovision action, this field is required.