Remove either a gateway or a sub device
Function's result
const res = await iot-device-sdk.removeDevice({ devId: "ebc2e6912054fa2a03ws5h" }, true)console.log(res)
device id to remove
need to factory reset
Remove either a gateway or a sub device
Returns
Function's result
Example