Description
This function modifies an email account's quota.
Warning:
- UAPI (recommended) —
Email::edit_pop_quota
— This function changes an email address's quota. - cPanel API 2 —
Email::editquota
— This function modifies an email account's disk quota.
Examples
Parameters
Parameter |
Type |
Description |
Possible values |
Example |
|
string |
Required The email account name. |
A valid email account name. For example, user if the email address isuser@example.com . |
user |
domain |
string |
Required The email account's domain. |
The domain that corresponds to the email account. For example, example.com if the email address is user@example.com. |
example.com |
quota |
integer |
Required The new maximum amount of disk space that the email account may use. |
A positive integer. Note: To grant the account unlimited disk space, specify 0 for this parameter. |
500 |
Returns
This function does not return output.