latestOpenAPI 3.0.2cPanel License2026-08-106251554.3 MB

3da41671c02c

Packages
Hosting Plans

Delete hosting plan

This function deletes a hosting plan (package).

get/killpkg

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
  }
}