This function returns a cPanel account's Leika configuration data. Leika is an internal module that cPanel & WHM uses to track access to features.
Note:
If you do not provide an item
parameter, this returns the entire configuration.
HTTP Request was successful.
object An object that contains configuration keys and their values. | |
object |
whmapi1 --output=jsonpretty \ leika_get_config \ item=cpanel.key1 \ item=webmail.key3.subkey1
{- "data": {
- "cpanel.key1": "enabled",
- "webmail.key3": {
- "subkey1": "active",
- "subkey2": "inactive"
}
}, - "metadata": {
- "command": "leika_get_config",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}