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

# Modify app-ip-list

This command can modify an application app-ip-list.

# usage

sage: oredge app-ip-list modify [id] [OPTIONS]

    --id integer                       id.
    --name string                      name.
    --ip string                        ip, can add multiple times.

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

--id "id"

Specify to which app-ip-list you want to modify.

You can specify it in two method

    oredge app-ip-list modify 1-1


    oredge app-ip-list modify --id 1-1

--name "app-ip-list name"

the name of the app-ip-list, this args is required.

--ip "xx.xx.xx.xx"

add the ip in the ip list. you can add multiple times.

# example

  1. modify a ip list.
# oredge app-ip-list modify 1-1 --ip --ip