Skip to main content

Update status of a command

POST 

/v1/commands/updateStatus

Updates the status of a command. Update status works only if current command status is either one of pending, received, processing. Also the status can move forward only. For example, if current status is received it can not be set to pending.

note

Once the command status is updated to be either success or failure, the command status can no longer be updated and command is considered to be concluded!

Marking command to be concluded also removes that command from command list. If command status is not updated to the conclusion, the status will be considered as expired after expiry interval

MQTT Topic

$anedya/device/{deviceid}/commands/updateStatus/json

Request

Responses

Success