API operation · security group
POST
/security/bans/clear
First published 3 Oct 2026
0.1.0Unchanged since publicationLift every active ban
Who may call it
AdministratorResellerCustomer
Token scope, any of
securityallAnswers200 OK
UrbeStack empties the firewall's ban set, marks each lifted ban as unblocked, and records who lifted it. It tells fail2ban to forget each ban so the next attempt from that IP address counts again. The API returns an Unblocked response.
As a command
Run as root on the serverExample
See the API overview for how to set $API and $TOKEN.Request
curl -sS -X POST "$API/security/bans/clear" \ -H "Authorization: Bearer $TOKEN"
Response ·
200 OK{
"addresses": [
"text"
],
"fail2ban": "text",
"state": "text",
"unblocked": 1
}Errors
4 errors, each a status and a sentence400Invalid id400Say which bans: an address or network, a service or rule, a search, or a time window; or clear all blocks401Authentication required404Ban <id> not foundNo error of this operation matches.
Generated from release 0.2.35 (current) · the API’s own descriptionThis entry has been unchanged since it was first published in release 0.1.0 on 3 Oct 2026.
urbestack.com/docs/api/post-security-bans-clear/