Packages
Hosting Plans
Delete hosting plan
This function deletes a hosting plan (package).
get/killpkg
Request
- Base URLhttps://whm-server.tld:2087/json-api
- AuthHTTP 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.