Home / Servers / DigitalOcean API / firewalls_delete_rules
Remove Rules from a Firewall
An MCP tool from the DigitalOcean API server, hosted on mcp.hjlabs.in.
Remove Rules from a Firewall To remove access rules from a firewall, send a DELETE request to /v2/firewalls/$FIREWALL_ID/rules. The body of the request may include an inbound_rules and/or outbound_rules attribute containing an… [DELETE /v2/firewalls/{firewall_id}/rules]
Name on the gateway: digitalocean_api__firewalls_delete_rules · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
firewall_id required | string | A unique ID that can be used to identify and reference a… |
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_delete_rules",
"arguments": {
"firewall_id": "…",
"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 remove rules from a firewall tool with firewall_id set to ….