Updates information for a firewall.
-
Assigned Linodes must not have any ongoing live migrations.
-
If this operation changes a firewall's status, it generates a corresponding
firewall_enableorfirewall_disableevent.
This operation doesn't affect some parts of a firewall's configuration:
-
This operation doesn't set a firewall's devices. Instead, run the Create a firewall device and Delete a firewall device operations to assign and remove this firewall from services.
-
A firewall's rules can't be changed with this operation. Instead, run the Update firewall rules operation to update your rules.
-
Use this operation to set a firewall's status to
enabledordisabled. But to set it todeleted, run the Delete a firewall operation. -
An assigned default firewall can't be disabled.
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_firewall
- Permissions:
-
OAuth scopes. Your user needs these scopes assigned. Learn more.
- Scopes:
firewall:read_write
- Scopes:
CLI
linode-cli firewalls update 123 \
--status disabled