# Restore Factory Settings

This interface can restore the device to its factory settings.

# API Path

{CLTPlatform-ip}:8086/processor/setFactoryRestore

  • Replace {CLTPlatform-ip} with the corresponding IP address.
  • The request port is 8086.

# Protocol

HTTP

# Method

POST

# Request Parameters

  • Set the Content-Type of the request body to application/json.
Parameter Name Description Required Type Data Dictionary Restriction Example
command Command type Yes [string] processor/setFactoryRestore
data Data Yes [object]
data>>index Sender index (starting from 0, -1 for all senders) Yes [int] 0

# Request Example

{
    "command": "processor/setFactoryRestore",
    "data": {
        "index": 0
    }
}

# Response

Parameter Name Description Required Type Data Dictionary Restriction Example
command Command type Yes [string] processor/setFactoryRestore
code Status code Yes [int] 20000
message Message Yes [string] Common_Success
data Data Yes [object]

# Response Example

{
    "command": "processor/setFactoryRestore",
    "code": 20000,
    "message": "Common_Success",
    "data": {}
}

# Detailed Description