Confirm device upgrade

Last Updated on : 2023-06-19 07:06:51

Confirm device upgrade

API address

POST: /v1.0/iot-03/devices/{device_id}/confirm-upgrade

Request parameter

Parameter name Type IN Required Description
device_id String uri true Device ID

Description of body

Parameter name Type IN Required Description
module_type Integer body true Firmware corresponding channel number, can be obtained from the list of available firmware upgrades

Return parameter

Parameter name Type Description
result Boolean Return result

Request example

POST: /v1.0/iot-03/devices/002000425ccf7fc7342a/confirm-upgrade
{ "module_type": 1 }

Return example

true

Error code

For more information, see error code.