Nov 30, 2026 — Update the active firewall for a Linode interface
about 2 hours ago
You can view and update the active firewall for a Linode interface by using the firewall_id field with these endpoints:
- List Linode interfaces. GET /linode/instances/{linode_id}/interfaces
- Get a Linode interface. GET /linode/instances/{linode_id}/interfaces/{interface_id}
- Update a Linode interface. PUT /linode/instances/{linode_id}/interfaces/{interface_id}
Behaviors and considerations
- Changing an interface’s active firewall doesn't create a new interface
versionor update the interface’supdatedtimestamp. - You can't use the "Update a Linode interface" endpoint to select a disabled firewall or update an interface that is attached to a disabled firewall.
- Setting
firewall_idtonullor omitting it preserves the current active firewall. Use delete a firewall or delete a firewall device to remove a firewall from a service. - Changing an interface’s active firewall triggers
firewall_device_removeandfirewall_device_addevents.
