Skip to content

metalcloud-cli server-instance-group network disconnect

Remove a network connection from a server instance group

Remove a network connection from a server instance group.

This command permanently removes a network connection between a server instance group and a network. This action cannot be undone and will disconnect all instances in the group from the specified network.

Arguments: server_instance_group_id The numeric ID of the server instance group connection_id The numeric ID of the network connection to remove

Warning: This operation will disconnect all instances in the group from the network and cannot be reversed.

Examples:

Remove network connection 5 from server instance group 1234

Section titled “Remove network connection 5 from server instance group 1234”

metalcloud-cli server-instance-group network disconnect 1234 5

metalcloud-cli ig net rm 1234 5

metalcloud-cli server-instance-group network disconnect server_instance_group_id connection_id [flags]
-h, --help help for disconnect
-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”