enterprises

Executes a command to device managed by the enterprise.

post/v1/{+name}:executeCommand

Request

  • Base URL: https://smartdevicemanagement.googleapis.com
  • URL: https://smartdevicemanagement.googleapis.com/v1/{+name}:executeCommand
  • Auth: OAuth 2 (implicit, authorization URL https://accounts.google.com/o/oauth2/auth, scopes: https://www.googleapis.com/auth/sdm.service) and OAuth 2 (authorization code, authorization URL https://accounts.google.com/o/oauth2/auth, token URL https://accounts.google.com/o/oauth2/token, scopes: https://www.googleapis.com/auth/sdm.service)

Path parameters

namestring required

The name of the device requested. For example: "enterprises/XYZ/devices/123"

Request body

commandstring

The command name to execute, represented by the fully qualified protobuf message name.

paramsobject

The command message to execute, represented as a Struct.

Response

Successful response

Changes

    • breaking

      removed the request body

    • breaking

      removed the media type */* for the response with the status