This function clears the spam box of all its contents for all email accounts.
Important:
This function deletes the Spam Box folder contents for every email address on the account, which includes the system user email account.
HTTP Request was successful.
apiversion | integer The version of the API. |
func | string The name of the method called. |
module | string The name of the module called. |
object |
uapi --output=jsonpretty \ --user=username \ SpamAssassin \ clear_spam_box
{- "apiversion": 3,
- "func": "clear_spam_box",
- "module": "SpamAssassin",
- "result": {
- "errors": null,
- "messages": null,
- "metadata": { },
- "status": 1,
- "warnings": null
}
}