This function lists available themes.
Note:
The /usr/local/cpanel/scripts/modify_accounts
script allows you to modify the style and 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 \ list
{- "apiversion": 3,
- "func": "list",
- "module": "Themes",
- "result": {
- "data": [
- "jupiter"
], - "errors": null,
- "messages": null,
- "metadata": {
- "transformed": 1
}, - "status": 1,
- "warnings": null
}
}