This function applies a new theme to the cPanel interface.
Note:
The /usr/local/cpanel/scripts/modify_accounts
script allows you to modify the theme for many or all accounts on the server. For more information, read our The modify_accounts Script documentation.
uapi --output=jsonpretty \ --user=username \ Themes \ update \ theme='jupiter'
{- "apiversion": 3,
- "func": "update",
- "module": "Themes",
- "result": {
- "data": { },
- "errors": null,
- "messages": null,
- "metadata": { },
- "status": 1,
- "warnings": null
}
}