v1

latestOpenAPI 3.0.2cPanel License2026-08-06657427.1 MB
Themes
Theme Settings

Return available themes

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.

get/Themes/list

Query parameters

show_mail_themes0 | 1
Example:1

Whether to list the account's mail themes.

  • 1 — List mail themes.
  • 0 — Do not list mail themes.

Response

HTTP Request was successful.

apiversioninteger

The version of the API.

funcstring

The name of the method called.

modulestring

The name of the module called.

Example response

{
  "apiversion": 3,
  "func": "list",
  "module": "Themes",
  "result": {
    "data": [
      "jupiter"
    ],
    "metadata": {
      "transformed": 1
    },
    "status": 1
  }
}