Takes an action that affects a Chrome OS Device. This includes deprovisioning, disabling, and re-enabling devices.
- Deprovisioning a device will stop device policy syncing and remove device-level printers. After a device is deprovisioned, it must be wiped before it can be re-enrolled.
- Lost or stolen devices should use the disable action.
- Re-enabling a disabled device will consume a device license. If you do not have sufficient licenses available when completing the re-enable action, you will receive an error.
For more information about deprovisioning and disabling devices, visit the help center.
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 |
The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the |
resourceId |
The unique ID of the device. The |
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 Authorization guide.
ChromeOsDeviceAction
Data about an update to the status of a Chrome OS device.
JSON representation |
---|
{ "action": string, "deprovisionReason": string } |
Fields | |
---|---|
action |
chromeosdevices.action to be taken on the Chrome OS device. Acceptable values are:
|
deprovisionReason |
Only used when the action is deprovision. With the deprovision action, this field is required. Acceptable values are:
|