Update Webhook
Select
SaaS
Customer Managed
This API updates an existing webhook.
Path Parameters
- webhookid integer required
- application/json
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
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
- errorCode integer
{
"errorCode": 0
}
PUT /webhook/:webhookid
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
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
}'
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
}'
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
}'
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
}'
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
}'
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
}'
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
}'