Update a NodeBalancer's firewalls

Replace the current list of assigned firewalls with a new list, or provide an empty list to remove all firewalls from this NodeBalancer.

Permissions and scopes

To call this operation, you need permissions, based on the model you're using:

  • Identity and access permissions. Your user needs a role with these permissions. Learn more.

    • Permissions: update_nodebalancer_firewalls
  • OAuth scopes. Your user needs these scopes assigned. Learn more.

    • Scopes: nodebalancers:read_write

CLI

linode-cli nodebalancers firewalls-update 12345 \
  --firewall_ids '[1234, 4567]'

Learn more

Path Params
string
enum
required

Enum Call either the v4 URL, or v4beta for operations still in Beta.

Allowed:
integer
required

The ID of the NodeBalancer.

Query Params
integer
≥ 1
Defaults to 1

The page of a collection to return.

integer
25 to 500
Defaults to 100

The number of items to return per page.

Body Params
firewall_ids
array of integers
required
length ≥ 0

A complete list of firewall IDs to assign to this Linode or NodeBalancer. This operation replaces any existing assignments. To remove all firewalls, pass an empty list, [].

firewall_ids*
Responses

Language
Credentials
Response
Choose an example:
application/json