Home / Servers / DigitalOcean API / firewalls_update
Update a Firewall
An MCP tool from the DigitalOcean API server, hosted on mcp.hjlabs.in.
Update a Firewall 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.… [PUT /v2/firewalls/{firewall_id}]
Name on the gateway: digitalocean_api__firewalls_update · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
firewall_id required | string | A unique ID that can be used to identify and reference a… |
id | string | A unique ID that can be used to identify and reference a firewall. |
status | waiting | succeeded | failed | A status string indicating the current state of the firewall. This can be… |
created_at | string | A time value given in ISO8601 combined date and time format that represents… |
pending_changes | array | An array of objects each containing the fields "droplet_id", "removing", and… |
name required | string | A human-readable name for a firewall. The name must begin with an alphanumeric… |
droplet_ids | array | An array containing the IDs of the Droplets assigned to the firewall. Requires… |
tags | array | A flat array of tag names as strings to be applied to the resource. Tag names… |
inbound_rules required | array | |
outbound_rules | array |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "digitalocean_api__firewalls_update",
"arguments": {
"firewall_id": "…",
"name": "…",
"inbound_rules": []
}
}Or connect the DigitalOcean API server directly, which lists 874 tools including this one:
claude mcp add --transport http hj-digitalocean-api https://mcp.hjlabs.in/mcp/digitalocean-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the update a firewall tool with firewall_id set to ….