Boundary
host-sets remove-hosts
Command: host-sets remove-hosts
The host-sets remove-hosts
command lets you remove hosts from host sets, if the types match and it is allowed by the host set type.
Example
This example removes the host hst_0987654321
from the host set hsst_1234567890
:
$ boundary host-sets remove-hosts -id hsst_1234567890 -host hst_0987654321
Usage
$ boundary host-sets remove-hosts <subcommand> [options] [args]
Command options
-host=<string>
- The hosts you want to remove from the host set. You can specify multiple hosts.-id=<string>
- The ID of the containing host set you want to remove hosts from.-version=<int>
- The version of the host set you want to remove hosts from. If you do not specify a version, the command performs a check-and-set automatically.
CLI options
In addition to the command specific options, there are options common to all CLI commands and subcommands: