Bandwidth and Disk Quotas
Update cPanel account disk quota
This function modifies a user's disk quota.
get/editquota
Query parameters
The account's new quota.
- A positive integer that represents the maximum amount of disk space, in megabytes (MB).
- 0 or unlimited grants the account unlimited disk space.
userstring required
Example:user
The cPanel account username.
Response
HTTP Request was successful.
Example response
{
"metadata": {
"command": "editquota",
"reason": "Set quota for user.",
"result": 1,
"version": 1
}
}