This function returns the total disk usage for the mailing lists of a cPanel account.
Important:
When you disable the Receive Mail role, the system disables this function.
uapi --output=jsonpretty \ --user=username \ Email \ get_lists_total_disk_usage
{- "apiversion": 3,
- "func": "get_lists_total_disk_usage",
- "module": "Email",
- "result": {
- "data": 1024,
- "errors": null,
- "messages": null,
- "metadata": {
- "transformed": 1
}, - "status": 1,
- "warnings": null
}
}