This function lists a cPanel account's Account Enhancements.
uapi --output=jsonpretty \ --user=username \ AccountEnhancements \ list
{- "apiversion": 3,
- "func": "list",
- "module": "AccountEnhancements",
- "result": {
- "data": [
- {
- "id": "sample-enhancement-id",
- "name": "Sample Enhancement"
}
], - "errors": null,
- "messages": null,
- "metadata": {
- "transformed": 1
}, - "status": 1,
- "warnings": null
}
}