# metalcloud-cli vm-instance-group delete Delete a VM instance group ## Synopsis Delete a VM instance group from an infrastructure. This command permanently removes a VM instance group and all its instances from the specified infrastructure. This action is irreversible and will terminate all running instances within the group. WARNING: This operation cannot be undone. All data on the VM instances will be permanently lost unless backed up elsewhere. ARGUMENTS: infrastructure_id The ID of the infrastructure containing the group vm_instance_group_id The ID of the VM instance group to delete EXAMPLES: ## Delete VM instance group 67890 from infrastructure 12345 metalcloud-cli vm-instance-group delete 12345 67890 ## Delete group using alias metalcloud-cli vmg rm 12345 67890 ``` metalcloud-cli vm-instance-group delete infrastructure_id vm_instance_group_id [flags] ``` ### Options ``` -h, --help help for delete ``` ### Options inherited from parent commands ``` -k, --api_key string MetalCloud API key -c, --config string Config file path -d, --debug Set to enable debug logging -e, --endpoint string MetalCloud API endpoint -f, --format string Output format. Supported values are 'text','csv','md','json','yaml'. (default "text") -i, --insecure_skip_verify Set to allow insecure transport -l, --log_file string Log file path -v, --verbosity string Log level verbosity (default "INFO") ``` ### SEE ALSO * [metalcloud-cli vm-instance-group](/content/configuration/cli/metalcloud-cli_vm-instance-group.md) - Manage VM instance groups within infrastructures #### Auto generated by spf13/cobra on 11-Aug-2025