Updates an existing device command.

Request

HTTP Request

PUT /device/{deviceId}/command/{commandId}

Parameters

Parameter NameRequiredTypeDescription
deviceIdYesstringDevice unique identifier.
commandIdYesintegerDevice command identifier.

Authorization

Access JSON Web Token (UpdateDeviceCommand)

Request Body

In the request body, supply a DeviceCommand resource.

Property NameRequiredTypeDescription
statusNostringCommand status, as reported by device or related infrastructure.
resultNoobjectCommand execution result, an optional value that could be provided by device.

Response

If successful, this method returns an empty response body.