This function retrieves all existing account enhancements on the system.
HTTP Request was successful.
object | |
object |
whmapi1 --output=jsonpretty \ list_account_enhancements
{- "data": {
- "enhancements": {
- "id": "sample-enhancement-id",
- "name": "Sample Enhancement"
}
}, - "metadata": {
- "command": "list_account_enhancements",
- "output": {
- "warnings": [
- "(XID svx4zp) The enhancement file “/var/cpanel/account_enhancements/enhancement 5000.json” contains an invalid enhancement “id”: “bad-id”."
]
}, - "reason": "OK",
- "result": 1,
- "version": 1
}
}