Description

This function modifies an email account's quota.

Examples 


$cpanel = new CPANEL(); // Connect to cPanel - only do this once.
$change_email_quota = $cpanel->api1('Email', 'editquota', array('user', 'example.com', '500') ); // Call the function.

my $cpliveapi = Cpanel::LiveAPI->new(); # Connect to cPanel - only do this once.
my $change_email_quota = $cpliveapi->api1('Email', 'editquota', ['user', 'example.com', '500'] ); # Call the function.

<cpanel Module="Email::editquota( $FORM('email','domain','quota') )">
cpapi1 --user=username Email editquota user example.com 500

This function does not return output.

Parameters

ParameterTypeDescriptionPossible valuesExample
emailstring

Required

The email account name.

A valid email account name.

For example, user if the email address is user@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
quotainteger

Required

The new maximum amount of disk space that the email account may use.

An integer value.

To grant the account unlimited disk space, specify 0 for this parameter. 

500

Returns

This function does not return output.