Restore defaults

Last Updated on : 2023-06-20 15:18:01download

Restore the device to factory settings.

API address

POST: /v1.0/iot-03/devices/{device_id}/actions/reset

Request parameter

Parameter nameTypeINRequiredDescription
device_idStringuritrueDevice ID

Return parameter

Parameter nameTypeDescription
resultBoolean

Request example

POST: /v1.0/iot-03/devices/xxxid/actions/reset

Return example

{
    "result": true,
    "t": 1591872112140,
    "success": true
}

Error code

For more information, see error code.