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

# Create Webhook

# usage

Usage: oredge webhook create [payload-url] [OPTIONS]

OPTIONS:
    --enabled bool                     true or false.
    --payload-url string               payload url.

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

# example

  1. create webhook.
# oredge webhook create "http://a.com/b" 
ID: 2