Return SpamAssassin™ settings

This function lists the Apache SpamAssassin™ settings for the account.

Note:

Additional customizations may appear in the returns. Form more information read the Apache SpamAssassin™ configuration file documentation.

SecurityBasicAuth
Responses
200

HTTP Request was successful.

Response Schema: application/json
apiversion
integer

The version of the API.

func
string

The name of the method called.

module
string

The name of the module called.

object
get/SpamAssassin/get_user_preferences
Request samples
uapi --output=jsonpretty \
  --user=username \
  SpamAssassin \
  get_user_preferences
Response samples
application/json
{
  • "apiversion": 3,
  • "func": "get_user_preferences",
  • "module": "SpamAssassin",
  • "result": {
    • "data": {
      • "blacklist_from": [
        • "username2@example.com"
        ],
      • "required_score": [
        • 5.1
        ],
      • "score": [
        • "ACT_NOW_CAPS 1"
        ],
      • "whitelist_from": [
        • "username@example.com"
        ]
      },
    • "errors": null,
    • "messages": null,
    • "metadata": { },
    • "status": 1,
    • "warnings": null
    }
}