Disable Web Interface
Enables or disables the Web interface, while the API remains functional. The HTTP method used is POST and the contentType is application/json.
POST /set_configuration.fcgi
Parameters
- The parameter is a JSON Object corresponding to the configuration web_server_enabled.
- web_server_enabled (string): Enables the Web interface. The API remains fully functional, only the Web interface is affected. Use "1" to enable and "0" to disable.
Additional methods to disable
- Directly on the device using the Web Interface screen.
- Using the Web interface itself, under the Disable Web Interface tab.
Example request
Disable Web Interface:
$.ajax({
url: "/set_configuration.fcgi?session=" + session,
type: 'POST',
contentType: 'application/json',
data: JSON.stringify({
general: {"web_server_enabled": "0"}
})
});