cPanel XMLAPI - killpkg


DESCRIPTION

This function deletes a specific hosting package.


VARIABLES

INPUT

pkg (string)
Name of the package.

OUTPUT

killpkg
Kill Package container

result
Result of package removal

status (boolean)
Whether or not the edit was successful. Yes=1, No=0. Format: status=``0|1''

statusmsg (string)
Message as a result of the operation. Format: statusmsg=``message''


EXAMPLES

Calling this URL in WebHost Manager: /xml-api/killpkg?pkg=ben

will produce:

<killpkg>


<result status="1" statusmsg="The package was successfully deleted."/>

</killpkg>


COPYRIGHT

Copyright 2007 cPanel Inc.