Modifies an existing WAF Deny List rule. Only the fields you specify will be changed; all others remain unchanged.
wp admintools wafdeny modify <id> [--option=<option>] [--view=<view>] [--task=<task>] [--query=<query>] [--query-type=<query_type>] [--query-content=<query_content>] [--verb=<verb>] [--application=<application>] [--enabled=<enabled>]
idThe numeric ID of the rule to modify (required).
All other options are the same as the add command.
Change the HTTP verb of rule #1:
wp admintools wafdeny modify 1 --verb=GET
Disable rule #1:
wp admintools wafdeny modify 1 --enabled=0
Success: WAF Deny rule #1 updated.