Estimated Reading Time: 1 minutes|Last Updated: 11/3/2021, 10:50:40 AM

# Delete Upstream

# usage

Usage: oredge upstream delete [id] [OPTIONS]

OPTIONS:
    --id integer                       upstream id.
    --global                           delete a global upstream, no argument.
    --http                             delete a http application upstream, no argument.
    --sni-proxy                        delete a sni-proxy application upstream, no argument.
    --tcp                              delete a tcp application upstream, no argument.

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

# example

  1. delete global upstream.
# oredge upstream delete 21 --global
OK
  1. delete http upstream.
# oredge upstream delete 892-1729 --http
OK