# Save current user's weblog analyzers configuration This function saves the users choice about which web log anayzers are enabled for each domain on their cPanel users account. If the log anayzers are controlled by the reseller or root account, the user cannot manage which log analyzers are enabled or disabled. When you disable the WebServer role the system disables this function. For more information, read our How to Use Server Profiles documentation. Endpoint: POST /StatsManager/save_configuration Version: 11.134.0.5 Security: BasicAuth ## Request fields (application/json): - `changes` (array) - `changes.analyzers` (array) List of log analyzer configuration objects. Example: [{"enabled":1,"name":"awstats"},{"enabled":0,"name":"analog"},{"enabled":0,"name":"webalizer"}] - `changes.analyzers.enabled` (integer) Whether the analyzer is turned on or off for the domain. - - the analyzer is enabled. - - the analyzer is disabled. Enum: 1, 0 - `changes.analyzers.name` (string) Name of the analyzer. It must be one of the following: - - Analog weblog analyzer. - - AWStats weblog analyzer. - - The Webalizer weblog analyzer. Enum: "analog", "awstats", "webalizer" - `changes.domain` (string) Domain you want to configure. Example: "domain.com" ## Response 200 fields (application/json): - `apiversion` (integer) The version of the API. Example: 3 - `func` (string) The name of the method called. Example: "save_configuration" - `module` (string) The name of the module called. Example: "StatsManager" - `result` (object) - `result.data` (array) A list of domains and the status of each of the web log analyzers available in cPanel for that domain. - `result.data.analyzers` (array) List of log analyzer configuration objects for this domain Example: [{"available":1,"enabled":1,"locked":0,"name":"awstats"},{"available":1,"enabled":0,"locked":0,"name":"analog"},{"available":0,"enabled":0,"locked":0,"name":"webalizer"}] - `result.data.analyzers.available` (integer) Whether the analyzer is turned on or off for the whole server. - - the analyzer is enabled on the server. - - the analyzer is disabled on the server. Enum: 1, 0 - `result.data.analyzers.enabled` (integer) Whether the analyzer is turned on or off for the domain. - - the analyzer is enabled. - - the analyzer is disabled. Enum: 1, 0 - `result.data.analyzers.locked` (integer) Whether the analyzer can be turned on or off for the domain by the cPanel user. - - the analyzer can be managed by the cPanel user. - - the analyzer cannot be managed by the cPanel user. The reseller or controls the configuration. Enum: 1, 0 - `result.data.analyzers.name` (string) Name of the analyzer. It must be one of the following: - - Analog weblog analyzer. - - AWStats weblog analyzer. - - The Webalizer weblog analyzer. Enum: "analog", "awstats", "webalizer" - `result.data.domain` (string) The domain. Example: "user" - `result.errors` (array,null) List of errors if the API failed. - `result.messages` (array,null) List of messages generated by the API. - `result.metadata` (object) - `result.metadata.transformed` (integer) Post-processing may have transformed the data. Enum: 1 - `result.status` (integer) - 1 - Success - 0 - Failed: Check the errors field for more details. Enum: 0, 1 - `result.warnings` (array,null) List of warnings generated by the API. Warnings describe non-critical failures or other problematic conditions noted while running a API.