Return the server's cPanel styles

This function lists the server's cPanel styles.

Authorizations:

Responses

Response Schema: application/json
object
object

Request samples

whmapi1 --output=jsonpretty \
  list_styles

Response samples

Content type
application/json
{
  • "data": {
    • "list": [
      • {
        • "default": 1,
        • "display_name": "Glass",
        • "name": "glass",
        • "preview": 1,
        • "type": "default"
        }
      ]
    },
  • "metadata": {
    • "command": "list_styles",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}