metalcloud-cli extension-instance delete¶
Remove extension instance from infrastructure
Synopsis¶
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:
Stop the running extension instance
Clean up associated resources
Remove the instance from infrastructure configuration
Update the infrastructure state
Arguments: extension_instance_id The unique ID of the extension instance to delete
Examples:
Delete extension instance by ID¶
metalcloud extension-instance delete 12345
Remove instance using alias¶
metalcloud extension-instance rm 67890
Delete with short command alias¶
metalcloud ext-inst delete instance-123
Remove specific instance¶
metalcloud ext-inst rm failed-deployment-456
metalcloud-cli extension-instance delete extension_instance_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 extension-instance - Manage extension instances within infrastructure deployments