Description

This function removes an Apache MIME type handler from an account's .htaccess file.

Examples 


$cpanel = new CPANEL(); // Connect to cPanel - only do this once.
$del_mime = $cpanel->api1('Mime', 'del_mime', array('text/plain') ); // Call the function.

my $cpliveapi = Cpanel::LiveAPI->new(); # Connect to cPanel - only do this once.
my $del_mime = $cpliveapi->api1('Mime', 'del_mime', ['text/plain'] ); # Call the function.

<cpanel Module="Mime::del_mime( $FORM('type') )">
cpapi1 --user=username Mime del_mime text/plain

This function does not return output.

Parameters

ParameterTypeDescriptionPossible ValuesExample
type
string

Required

The MIME type.

Any valid MIME type.
text/plain

Returns

This function does not return output.