Packages
Hosting Plans

Delete hosting plan

This function deletes a hosting plan (package).

get/killpkg

Request

  • Base URL
    https://whm-server.tld:2087/json-api
  • Auth
    HTTP basic

Query parameters

pkgnamestring required
Example:package1

The hosting plan's name.

Note:

You cannot delete a hosting plan that a cPanel account currently uses.

Response

HTTP Request was successful.

Example response

{
  "metadata": {
    "command": "killpkg",
    "reason": "OK",
    "result": 1,
    "version": 1
  }
}

Changes

No recorded changes to this operation across all 5 revisions of this API.