Description
This function enables or disables BoxTrapper for an email account.
Warning:
cPanel API 1 is deprecated. We strongly recommend that you do not use cPanel API 1. However, no equivalent function exists in our newer APIs.
Examples
enabled
or
disabled
Parameters
Parameter |
Type |
Description |
Possible values |
Example |
account |
string |
Required The account's email address. |
A valid email address on the server. |
user@example.com |
action |
string |
Required The desired action. |
Note: All other values disable BoxTrapper. |
enable |
Returns
disabled
— BoxTrapper is now disabled for the account.enabled
— BoxTrapper is now enabled for the account.