Issues a command for the device to execute.
HTTP request
POST https://admin.googleapis.com/admin/directory/v1/customer/{customerId}/devices/chromeos/{deviceId}:issueCommand
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
customerId |
Immutable. ID of the Google Workspace account. |
deviceId |
Immutable. ID of Chrome OS Device. |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{
"commandType": enum ( |
Fields | |
---|---|
commandType |
The type of command. |
payload |
The payload for the command, provide it only if command supports it. The following commands support adding payload:
|
Response body
A response for issuing a command.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{ "commandId": string } |
Fields | |
---|---|
commandId |
The unique ID of the issued command, used to retrieve the command status. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/admin.directory.device.chromeos
For more information, see the Authorization guide.