Enable a webhook
POST /api/v1/eventConfigurations/<webhookID>/enable
Enables a previously disabled webhook.
Only enabled webhooks forward logs to systems outside Sitecore.
POST /api/v1/eventConfigurations/<webhookID>/enable
Enables a previously disabled webhook.
Only enabled webhooks forward logs to systems outside Sitecore.
|
Attribute |
Type |
Description |
Example |
|---|---|---|---|
|
|
string |
The webhook ID. If you do not know the webhook ID, first retrieve webhooks. |
|
curl -X POST '<baseURL>/api/v1/eventConfigurations/7050346545d5447da57b64be6416ac78/enable' \ -H 'Authorization: Bearer <bearerToken>' \ -H 'Accept: application/json'
{ "events": [ { "id": "7050346545d5447da57b64be6416ac78", "enabled": true, "name": "sitecore.backbone.messages.audit.created", "description": null } ] }