metalcloud-cli firmware-policy delete¶
Delete a firmware upgrade policy permanently
Synopsis¶
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:
Delete firmware policy with ID 123¶
metalcloud-cli firmware-policy delete 123
Delete policy using alias¶
metalcloud-cli fw-policy rm 456
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]
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 firmware-policy - Manage server firmware upgrade policies and global firmware configurations