Skip to content

rspm delete blocklist-rule#

Command to delete a blocklist rule

rspm delete blocklist-rule [flags]

Examples#

  rspm delete blocklist-rule --id=[rule id]

  # List blocklist rules to find their IDs for deleting
  rspm list blocklist-rules

  # Delete blocklist rule with ID '2'
  rspm delete blocklist-rule --id=2

Options#

  -h, --help      help for blocklist-rule
      --id uint   The rule ID. Required.

Options inherited from parent commands#

  -c, --config string          Path to config file
  -o, --output-format string   Specify the output format 'human' for human-readable output or 'json' for JSON-encoded output. (default "human")
  -v, --verbose                Provide additional output