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