List available templates for new domains The command simply outputs a list of available templates for use when creating new virtual servers. For each the ID number and description are displayed. To just display the template names, you can give the --name-only parameter. This is useful when iterating through them in other scripts. By default, deleted templates are not included in the list unless you add the --deleted flag. Command line help virtualmin list-templates [--name-only | --multiline] [--deleted]
List available templates for new domains#
The command simply outputs a list of available templates for use when creating new virtual servers. For each the ID number and description are displayed.
To just display the template names, you can give the --name-only parameter. This is useful when iterating through them in other scripts.
By default, deleted templates are not included in the list unless you add the --deleted flag.
Command line help#
virtualmin list-templates [--name-only | --multiline]
[--deleted]
Source: https://www.virtualmin.com/docs/development/api-programs/list-templates/
