This function deletes a hosting plan (package).
The hosting plan's name.
Note:
You cannot delete a hosting plan that a cPanel account currently uses.
HTTP Request was successful.
whmapi1 --output=jsonpretty \ killpkg \ pkgname='package1'
{"metadata": {"command": "killpkg","reason": "OK","result": 1,"version": 1}}