API operation · security group
DELETE
/security/bans/{id}
First published 3 Oct 2026
0.1.0Unchanged since publicationLift a ban by ID
Who may call it
AdministratorResellerCustomer
Token scope, any of
securityallAnswers200 OK
UrbeStack keeps the lifted ban in the ban history, marks it as unblocked, and records who lifted it. It tells fail2ban to forget the ban in the rule that issued it. The firewall continues to block the IP address wherever another active ban applies.
The API returns an Unblocked response. If the ban has expired or is already unblocked, the response reports its current state.
As a command
Run as root on the serverParameters
idpath ·integer, 1 or moreRequiredExample
See the API overview for how to set $API and $TOKEN.Request
curl -sS -X DELETE "$API/security/bans/1" \ -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/delete-security-bans-id/