Update a webhook.
Security
x-api-key
- EUhttps://eu1.api.pushsecurity.com/v1/settings/webhooks/{id}
curl -i -X PATCH \
'https://eu1.api.pushsecurity.com/v1/settings/webhooks/{id}' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-d '{
"enabled": false
}'OK
When the webhook was created, formatted as a UNIX timestamp (in seconds)
Example:1698064423
Response
{ "id": "2a2197de-ad2c-47e4-8dcb-fb0f04cf83e0", "url": "https://example.com/webhook", "enabled": true, "events": { "objects": [ "API_KEY_ADDED", "CONTROL_RULE_UPDATED" ], "categories": [ "AUDIT", "CONTROL" ] }, "customHeadersConfigured": false, "creationTimestamp": 1698064423, "lastUpdatedTimestamp": 1698064423 }