System

Configure system webhook

patch/system/config/webhook/{name}

Request

Path parameters

namestring required

System webhook name

Query parameters

scope'fed' | 'local'

When set the scope to be fed, it will update the fed level webhook. When set the scope to be local, it will update the local webhook. If there is no query string 'scope', it will use 'local' as the default value.

Headers

X-Auth-Tokenstring required

Request body

Example request

{
  "config": {
    "name": "slack-webhook",
    "url": "https://neuvector.slack.com/archives/C8AU75GKE",
    "enable": true,
    "type": "Slack",
    "cfg_type": "user_created"
  }
}

Response

Success

Changes

No recorded changes to this operation across all 1 revision of this API.