Estimated Reading Time: 1 minutes|Last Updated: 11/19/2021, 7:57:43 AM

# Modify Rule

# usage

Usage: oredge rule modify [id] [OPTIONS]

OPTIONS:
    --id integer                       id.
    --action json                      action, can add multiple times.
    --cache json                       cache. 
    --comment string                   comment.
    --condition json                   condition, can add multiple times.
    --content json                     content.
    --last bool                        last, true or false.
    --order integer                    order.
    --proxy json                       proxy.
    --waf json                         waf.


GLOBAL OPTIONS:
    --help
    --show-api                         print restful api request.
    --json                             print json format.
    --config                           specify config file, default is ~/.oredge/config.

# example

  1. modify rule.
# oredge rule modify 892-1551 --condition 'xxx'
OK