---
title: "corestack_firewall_entry_remove"
url: https://docs.corefinity.com/mcp/tools/corestack_firewall_entry_remove
type: tool
last_updated: 2026-11-13
feature: firewall
related:
  - https://docs.corefinity.com/api/reference/firewall/delete-firewall-entry.md
  - https://docs.corefinity.com/guides/sites/access-and-security/firewall.md
---
# corestack_firewall_entry_remove

**Remove a firewall address.** Remove an address from the firewall. Type the address back as confirm_address, exactly as corestack_firewall_list shows it. Scope: write. Long-running: answers with a task.

- Scope: `write`
- Confirmation: `confirm_address`
- Runs as a task: yes

## When to use it

Remove an address. Type it back as `confirm_address` exactly as corestack_firewall_list shows it (its `cidr`). Long-running: completes only once every environment has confirmed the address is gone; until then it reads `removing`.

## Inputs

- `entry_id` (integer, required)
- `confirm_address` (string, required): the entry's `cidr`, e.g. `203.0.113.7/32`

### Input schema

```json
{
  "additionalProperties": false,
  "properties": {
    "confirm_address": {
      "description": "Type the entry's address exactly as corestack_firewall_list shows it (its cidr, e.g. 203.0.113.7/32).",
      "maxLength": 64,
      "minLength": 1,
      "type": "string"
    },
    "entry_id": {
      "minimum": 1,
      "type": "integer"
    }
  },
  "required": [
    "entry_id",
    "confirm_address"
  ],
  "type": "object"
}
```

## Refusals

- `managed_elsewhere` (message: "This site is managed by another control panel"): another control panel manages this site, so use that control panel for it. This is refused before anything else about the site, as in the Control Panel and the API. Nothing was done.
- The refusals every tool can answer: `invalid_arguments`, `tenant_mismatch`, `scope_required`, `pin_refused`, `rate_limited`, `temporarily_unavailable`, `internal_error` (corestack://guides/how-this-server-works).
- `switched_off`: the firewall is not available for this object yet.
- `confirm_mismatch`: the typed address is not this entry's.
- `firewall_not_editable`: you can see this address but not change it.

## Example

```json
{
  "name": "corestack_firewall_entry_remove",
  "arguments": {
    "entry_id": 9001,
    "confirm_address": "203.0.113.7/32"
  }
}
```

## Prompt

```text
Using the Corefinity MCP server, call corestack_firewall_entry_remove with entry_id 9001. (Remove a firewall address.) Tell me what it returned.
```

## The same task elsewhere

- Endpoint: [DELETE /api/firewall/entries/{entry}](https://docs.corefinity.com/api/reference/firewall/delete-firewall-entry.md)
- Guide: [Firewall](https://docs.corefinity.com/guides/sites/access-and-security/firewall.md)
