This function lists the server's cPanel styles for the Paper Lantern theme.
Important:
This function only works in the Paper Lantern theme. We deprecated Paper Lantern in cPanel & WHM version 100 and will remove this function in version 110. This function will not work in the Jupiter theme.
HTTP Request was successful.
object | |
object |
whmapi1 --output=jsonpretty \ list_styles
{- "data": {
- "list": [
- {
- "default": 1,
- "display_name": "Glass",
- "name": "glass",
- "preview": 1,
- "type": "default"
}
]
}, - "metadata": {
- "command": "list_styles",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}