This function allows you to search for enabled cPanel account features and lists those features in the returned payload.
uapi --output=jsonpretty \ --user=username \ Features \ list_features_like \ pattern='mail'
{- "result": {
- "data": [
- "webmail",
- "emailauth"
], - "errors": null,
- "messages": null,
- "metadata": { },
- "status": 1,
- "warnings": null
}
}