# Update minimum spam score threshold value This function sets a new minimum Apache SpamAssassin™ spam score threshold value. * To disable spam filtering, use the UAPI fuction. * For more information, read our Spam Filters documentation. Spam Filter* role, the system this function. Endpoint: GET /Email/add_spam_filter Version: 11.134.0.5 Security: BasicAuth ## Query parameters: - `account` (string) The email account to apply a spam score threshold value. If you do  specify a value, the function applies the new spam score threshold value to  accounts. Example: "username@example.com" - `required_score` (string) Set a spam score threshold value. * You specify a value greater than , and lower than the domain owner's spam score threshold value. * You enter as a value for this parameter. * You can retrieve the domain owner‘s spam score threshold value via the  return from the UAPI  function. * The default value, , is an aggressive spam score. * The lower the spam score, the more likely that Apache SpamAssassin will label messages as spam and delete them. * Some systems may wish to use a more lenient spam score (for example, or ). Example: "8" ## Response 200 fields (application/json): - `apiversion` (integer) The version of the API. Example: 3 - `func` (string) The name of the method called. Example: "add_spam_filter" - `module` (string) The name of the module called. Example: "Email" - `result` (object) - `result.data` (object,null) - `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) * - Success. * - Failed. Check the 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.