This function changes an FTP account's quota.
Important:
When you disable the FTP role, the system disables this function.
user required | string The FTP account username. Example: |
domain | string The user's associated domain. Note: The default value is the cPanel account's primary domain. Example: |
kill | integer Default: Whether to disable quotas for the FTP account.
Note: If you disable quotas for an FTP account, you grant that account unlimited disk space. Example: |
quota | integer Default: The new quota, in megabytes. Note: Setting this parameter to Example: |
HTTP Request was successful.
apiversion | integer The version of the API. |
func | string The name of the method called. |
module | string The name of the module called. |
object |
uapi --output=jsonpretty \ --user=username \ Ftp \ set_quota \ user='ftpaccount'
{- "apiversion": 3,
- "func": "set_quota",
- "module": "Ftp",
- "result": {
- "data": null,
- "errors": null,
- "messages": null,
- "metadata": { },
- "status": 1,
- "warnings": null
}
}