Email
Email Accounts
Update email account's quota
This function changes an email address's quota.
get/Email/edit_pop_quota
Query parameters
domainstring domain required
Example:example.com
The email account's domain. Defaults to the cPanel account's main domain.
emailstring required
Example:user
The email account username.
quotastring
Example:500
The maximum amount of disk space that the new email account may use. Defaults to the system value.
- A positive integer that represents the maximum amount of disk space, in megabytes (MB).
Note:
You cannot enter a value that exceeds the maximum email quota.
- 0 or unlimited — The account possesses unlimited disk space.
If the email account's quota value is set higher (or unlimited) than the account's max quota, the account's max quota will be applied instead of the value entered.
Note:
This value is only available to users without a maximum email account quota.
Response
HTTP Request was successful.
Example response
{
"apiversion": 3,
"func": "edit_pop_quota",
"module": "Email",
"result": {
"status": 1
}
}