5.3.2 api config factoryreset
The /api/config/factoryreset function resets the factory default values for all the intercom parameters. This function is equivalent to the function of the same name in the System / Maintenance / Default setting section of the configuration web interface.
The function is part of the System service and the user must be assigned the System Control privilege for authentication if required.
The GET or POST method can be used for this function.
Table 1. Request JSON Keys
Key Name | Mandatory | Expected values | Default value | Description |
---|---|---|---|---|
section | No | network | N/A | This parameter resets the default values for all network settings too (including certificates). If the parameter is not specified, the default values for all configuration settings are reset except for network settings. |
The reply is in the application/json format and includes no parameters.
The /api/config/factoryreset function resets the intercom factory values with a delay of approx. 15 s; do not reset or switch off the intercom during this interval.
Example:
GET /api/config/factoryreset { "success" : true }