cPanel WHM icon

cPanel WHM

Full cPanel WHM API — all 622 operations across Accounts, DNS, Mail, SSL, Backups, Databases and more

Actions262

Package → Return hosting plan extension templates

AI-generated

Summary

Retrieve hosting plan extension templates for a specified hosting plan name from WHM.

Inputs

  • Pkg (required) — The name of the hosting plan to fetch extension templates for.

Output shape

a list of hosting plan extension templates related to the specified hosting plan

Returns response data from WHM API's getpkgextensionform endpoint; no pagination or additional optional parameters involved.

Examples

Example 1: Fetch extension templates for a hosting plan named 'basic_plan'

Set the 'Pkg' parameter to 'basic_plan' to retrieve associated extension templates.

Links

Discussion