Device Connectivity Made Easy

Focus on your product and innovation and leave communication and management to DeviceHive.

Get Started

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 3 years ago

update


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.