Skip to content

upctl server firewall delete

Removes a firewall rule from a server. Firewall rules must be removed individually. The positions of remaining firewall rules will be adjusted after a rule is removed.

upctl server firewall delete <UUID/Title/Hostname...> [flags]

Examples

upctl server firewall delete 00038afc-d526-4148-af0e-d2f1eeaded9b --position 1

Options

Option Description
--position Rule position. Available: 1-1000
Default: 0
--help, -h help for delete
Default: false

Global options

Option Description
--client-timeout, -t Client timeout to use in API calls.
Default: 0s
--config Configuration file path.
--debug Print out more verbose debug logs.
Default: false
--force-colours Force coloured output despite detected terminal support.
--no-colours Disable coloured output despite detected terminal support. Colours can also be disabled by setting NO_COLOR environment variable.
--output, -o Output format (supported: json, yaml and human)
Default: human
Command Description
upctl server firewall Manage server firewall rules. Enabling or disabling the firewall is done in server modify.