# urbestack-ban-clear

First published 3 Oct 2026 (release 0.1.0) · Unchanged since publication

UrbeStack release 0.2.35 command, run as root in the server shell.

## Usage

```
urbestack-ban-clear
```

## Description

Lifts every active ban and empties the firewall's ban set. UrbeStack marks each ban as unblocked, records who lifted it and tells fail2ban to forget it so the next attempt from that IP address counts again.

## Same in the API

- [POST /security/bans/clear](https://urbestack.com/docs/api/post-security-bans-clear.md): Lift every active ban

## Command family: ban

- [urbestack-ban-add](https://urbestack.com/docs/commands/urbestack-ban-add.md): Records a timed ban on an IP address and enforces it in the firewall.
- [urbestack-ban-allow](https://urbestack.com/docs/commands/urbestack-ban-allow.md): Adds individual IP addresses from matching bans to the Allow list.
- [urbestack-ban-del](https://urbestack.com/docs/commands/urbestack-ban-del.md): Lifts one active ban by ID or every active ban that matches the filters.
- [urbestack-ban-list](https://urbestack.com/docs/commands/urbestack-ban-list.md): Lists one page of matching bans within UrbeStack's retention period, newest first.
