Description
This function enables or disables the current branding package.
Note:
cPanel API 2's Branding
module only modifies data for the x3 theme.
Warning:
We strongly recommend that you use UAPI instead of cPanel API 2. However, no equivalent UAPI function exists.
Examples
Note:
Use cPanel's API Shell interface (Home >> Advanced >> API Shell) to directly test cPanel API calls.
Parameters
Input |
Type |
Description |
Possible values |
Example |
action |
string |
Required Whether to enable or disable the account's current branding package. |
|
enable |
Returns
Return |
Type |
Description |
Possible values |
Example |
status |
string |
The action taken. |
|
enabled |
result |
boolean |
Whether the function succeeded. |
|
1 |