Update a RuleSet

Updates the label, description, and rules for a RuleSet.

  • Assigned Linodes must not have any ongoing live migrations.

  • If the label or description fields are not provided in the update request, their existing values remain unchanged.

  • When updating the rules you must include the entire final ruleSet.

  • Note. This operation replaces all of a RuleSets inbound and outbound rulesets with the values specified in your request.

linode-cli firewalls ruleset-update 123 \
  --label ruleset123 \
  --description rulesetABC \
  --rules '[{"action":"ACCEPT", "description":"ABC-NeT-RuleSet", protocol": "TCP", "ports": "22-24, 80, 443, 6443", "addresses": {"ipv4": ["192.0.2.0/24", "198.51.100.2/32"], "ipv6": ["2001:DB8::/128"]}}]'

<https://techdocs.akamai.com/cloud-computing/docs/getting-started-with-the-linode-cli>
firewall:read_write

<https://techdocs.akamai.com/linode-api/reference/get-started#oauth>
Language
Credentials
Click Try It! to start a request and see the response here!