## Update
`gpu_droplets.firewalls.update(strfirewall_id, FirewallUpdateParams**kwargs) -> FirewallUpdateResponse`
**put** `/v2/firewalls/{firewall_id}`
To update the configuration of an existing firewall, send a PUT request to
`/v2/firewalls/$FIREWALL_ID`. The request should contain a full representation
of the firewall including existing attributes. **Note that any attributes that
are not provided will be reset to their default values.**
You must have read access (e.g. `droplet:read`) to all resources attached
to the firewall to successfully update the firewall.
### Parameters
- **firewall\_id:** `str`
- **firewall:** `FirewallParam`
### Returns
- `class FirewallUpdateResponse`
- **firewall:** `Optional[Firewall]`
### Example
```python
from do_gradientai import GradientAI
client = GradientAI()
firewall = client.gpu_droplets.firewalls.update(
firewall_id="bb4b2611-3d72-467b-8602-280330ecd65c",
firewall={
"name": "frontend-firewall"
},
)
print(firewall.firewall)
```