CMDCommand · run as root on the server · modsec family
urbestack-modsec-rule-del
First published 19 Nov 2026
0.2.30Unchanged since publicationUsage
# urbestack-modsec-rule-del --rule NUMBERDescription
From the command's --help outputDeletes a custom ModSecurity rule. UrbeStack rewrites the custom rule file, tests Apache's configuration, and reloads Apache. If the test fails, UrbeStack discards the deletion and returns Apache's error message.Usage: urbestack-modsec-rule-del --rule NUMBER Deletes a custom ModSecurity rule. UrbeStack rewrites the custom rule file, tests Apache's configuration, and reloads Apache. If the test fails, UrbeStack discards the deletion and returns Apache's error message.
Options
Find other commands that accept these optionsSame in the API
This operation runs the command.Generated from release 0.2.35 (current) · urbestack-modsec-rule-del --help outputThis entry has been unchanged since it was first published in release 0.2.30 on 19 Nov 2026.
urbestack.com/docs/commands/urbestack-modsec-rule-del/