This function deletes a specific hosting package.
- pkg (string)
-
Name of the package.
- 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''
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 2007 cPanel Inc.