Packages
Hosting Plan Extensions
Add hosting plan extension
This function adds a package extension to a hosting plan (package).
Notes:
-
If you need to edit a package extension's parameters, call this function again with the same package extension name and the updated package extension variables.
-
You can include the extension's variables in your function call, in key=value format. Consult the extension's documentation for a list of possible variables. Extension variables are case-sensitive.
get/addpkgext
Query parameters
_PACKAGE_EXTENSIONSstring required
The hosting plan's package extensions.
Note:
- Use space-delimited format to add multiple package extensions.
- Extension names are case-sensitive.
namestring required
Example:package1
The hosting plan's name.
Note:
You cannot use the extensions name for a hosting plan.
Response
HTTP Request was successful.
Example response
{
"data": {
"pkg": "package1"
},
"metadata": {
"command": "addpkgext",
"reason": "OK",
"result": 1,
"version": 1
}
}