Restore device factory settings

Last Updated on : 2023-12-07 03:33:53download

You can restore the factory settings of the device through this API.

API address

PUT: /v1.0/devices/{device_id}/reset-factory

Request parameter

Parameter nameTypeINRequiredDescription
device_idStringuritrueDevice ID

Return parameter

Parameter nameTypeDescription
resultBooleanWhether the execution was successful

Request example

PUT: /v1.0/devices/6c362ac3c53fbd6f3e****/reset-factory

Return example

true

Error code

For more information, see error code.