Skip to content

metalcloud-cli extension-instance delete

Remove extension instance from infrastructure

Remove an extension instance from its infrastructure deployment.

This command permanently deletes an extension instance from the specified infrastructure. The extension instance will be stopped, undeployed, and removed from the infrastructure’s configuration. This action cannot be undone.

Before deletion, ensure that:

  • The extension instance is not critical to ongoing operations
  • Any dependent services or workflows are properly handled
  • You have appropriate backups or documentation if needed

The deletion process will:

  1. Stop the running extension instance
  2. Clean up associated resources
  3. Remove the instance from infrastructure configuration
  4. Update the infrastructure state

Arguments: extension_instance_id The unique ID of the extension instance to delete

Examples:

metalcloud extension-instance delete 12345

metalcloud extension-instance rm 67890

metalcloud ext-inst delete instance-123

metalcloud ext-inst rm failed-deployment-456

metalcloud-cli extension-instance delete extension_instance_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”