modify-custom

Modify custom fields for a virtual server This program updates the value of one or more fields for a single virtual server. The parameter --domain must be given, and must be followed by the domain name of the server to update. You must also supply the --set parameter at least once, which has to be followed by the code for the field to update and the new value. For menu-type custom fields, the value must be the underlying value, not the one that is displayed to the user. For yes and no fields, the value must be either 1 or 0 respectively.

Modify custom fields for a virtual server#

This program updates the value of one or more fields for a single virtual server. The parameter --domain must be given, and must be followed by the domain name of the server to update. You must also supply the --set parameter at least once, which has to be followed by the code for the field to update and the new value.

For menu-type custom fields, the value must be the underlying value, not the one that is displayed to the user. For yes and no fields, the value must be either 1 or 0 respectively.

Command line help#

virtualmin modify-custom --domain name
 <--set "field value">+

Source: https://www.virtualmin.com/docs/development/api-programs/modify-custom/

  • virtualmin, domain, user, update, command line, modify, custom
  • 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...