object settings.update(object settings)
This method allows to update existing common settings.
This method is only available to Super admin user type. Permissions to call the method can be revoked in user role settings. See User roles for more information.
(object)
Settings properties to be updated.
(array)
Returns an array with the names of updated parameters.
{
"jsonrpc": "2.0",
"method": "settings.update",
"params": {
"login_attempts": "1",
"login_block": "1m"
},
"id": 1
}
Response:
CSettings::update() in ui/include/classes/api/services/CSettings.php.