list-templates

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/

  • virtualmin, domain, command line, script, list, templates
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Pre and Post Domain Modification Scripts

Virtualmin allows the use of custom scripts (Shell, Perl, Python and etc.) to automate tasks...

OS Support

Virtualmin runs on top of Webmin. Webmin works on almost every UNIX-like OS, so with some manual...

Professional Features

Virtualmin GPL is already an extremely powerful and flexible virtual hosting control panel, so...

How to Configure Secondary DNS

This guide provides administrators with a quick overview of setting up automatic DNS secondary...

How to Configure Cloudflare DNS

For users looking to integrate Cloudflare with Virtualmin Pro, the process is straightforward and...