API operation · security group
DELETE
/security/firewall/rules/{id}
First published 3 Oct 2026
0.1.0Unchanged since publicationRemove a firewall rule
Who may call it
AdministratorResellerCustomer
Token scope, any of
securityallAnswers200 OK
Removing an allow rule requires that no other firewall change be pending. By default, UrbeStack restores the previous rules after five minutes unless you confirm the removal with POST /security/firewall/confirm, the urbestack-firewall-confirm command, or the Confirm button in the web interface.
Use the urbestack-firewall-rule-list command to find the rule ID.
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/firewall/rules/1" \ -H "Authorization: Bearer $TOKEN"
Response ·
200 OK{
"id": 1,
"removed": 1,
"revert": {
"armed": true,
"deadline": "text",
"what": "text"
}
}Errors
3 errors, each a status and a sentence400Invalid id401Authentication required404Rule <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-firewall-rules-id/