BoxTrapper
Spam Prevention (BoxTrapper)
Enable or disable BoxTrapper for email account
This function enables or disables BoxTrapper for an email account.
Important:
When you disable the Receive Mail role, the system disables this function.
get/BoxTrapper/set_status
Query parameters
Example:user@example.com
The account's name. This can be an email address or the cPanel user’s username.
Warning:
If you call this function in Webmail, the system ignores this parameter and defaults to the currently-authenticated email address.
enabled0 | 1 required
Example:1
Whether to enable or disable BoxTrapper for the email account.
- 1 - Enable BoxTrapper.
- 0 - Disable BoxTrapper.
Response
HTTP Request was successful.
Example response
{
"apiversion": 3,
"func": "set_status",
"module": "BoxTrapper",
"result": {
"status": 1
}
}