update
Updates an existing device command.
Request
HTTP Request
PUT /device/{deviceId}/command/{commandId}
Parameters
Parameter Name | Required | Type | Description |
---|---|---|---|
deviceId | Yes | string | Device unique identifier. |
commandId | Yes | integer | Device command identifier. |
Authorization
Access JSON Web Token (UpdateDeviceCommand)
Request Body
In the request body, supply a DeviceCommand resource.
Property Name | Required | Type | Description |
---|---|---|---|
status | No | string | Command status, as reported by device or related infrastructure. |
result | No | object | Command execution result, an optional value that could be provided by device. |
Response
If successful, this method returns an empty response body.
Updated over 6 years ago