Skip to content

metalcloud-cli firmware-policy delete

Delete a firmware upgrade policy permanently

Delete a firmware upgrade policy permanently from the system.

This command removes a firmware policy and all its associated configuration including rules and server instance group associations. This action cannot be undone and will stop any automated firmware upgrades controlled by this policy.

Required arguments: policy_id The unique identifier (numeric ID) of the firmware policy

Warning: This action is irreversible. Make sure you no longer need the policy before deleting it. Consider getting a backup of the policy configuration first using the ‘get’ command.

Examples:

metalcloud-cli firmware-policy delete 123

metalcloud-cli fw-policy rm 456

Section titled “Get policy details before deletion (recommended)”

metalcloud-cli firmware-policy get 123 metalcloud-cli firmware-policy delete 123

metalcloud-cli firmware-policy delete policy_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”