This function retrieves an email account's quota.
Important:
When you disable the Receive Mail role, the system disables this function.
email required | string The email account username. For example, user if the email address is user@example.com. Example: email=user |
as_bytes | integer Default: 0 Whether to return the quota as bytes.
Example: as_bytes=1 |
domain | string <domain> The email account's domain. This parameter defaults to the cPanel account's main domain. Example: domain=example.com |
uapi --output=jsonpretty \ --user=username \ Email \ get_pop_quota \ email='user'
{- "apiversion": 3,
- "func": "get_pop_quota",
- "module": "Email",
- "result": {
- "data": 262144000,
- "errors": null,
- "messages": null,
- "metadata": { },
- "status": 1,
- "warnings": null
}
}