put https://api.linode.com//networking/firewalls/rulesets/
Updates the label
, description
, and rules
for a RuleSet.
-
Assigned Linodes must not have any ongoing live migrations.
-
If the
label
ordescription
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
andoutbound
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>