Skip to main content

Update Webhook

Select

SaaS
Customer Managed

This API updates an existing webhook.

Path Parameters
  • webhookid integer required
Request Body
  • headers string required

    Enter the name-value pairs separated by comma

  • name string required

    Name of the webhook

  • secret string

    Secret HMAC Authentication string

  • url string required

    WebHook URL

  • ssl boolean required

    Set this to true if Secret is added

Responses

OK


Schema
  • errorCode integer
PUT /webhook/:webhookid    

Authorization

type: apiKeyname: Authtokenin: header

Request

Click Edit to configure Base URL
https://CommandCenterHostName/commandcenter/api
Security Scheme
token
webhookid — path required
Body

{
"headers": "string",
"name": "string",
"secret": "string",
"url": "string",
"ssl": true
}
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/webhook/:webhookid' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"headers": "string",
"name": "string",
"secret": "string",
"url": "string",
"ssl": true
}'