Skip to content

metalcloud-cli vm-instance-group delete

Delete a VM instance group

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

Section titled “Delete VM instance group 67890 from infrastructure 12345”

metalcloud-cli vm-instance-group delete 12345 67890

metalcloud-cli vmg rm 12345 67890

metalcloud-cli vm-instance-group delete infrastructure_id vm_instance_group_id [flags]
-h, --help help for delete
-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")

Auto generated by spf13/cobra on 11-Aug-2025

Section titled “Auto generated by spf13/cobra on 11-Aug-2025”