Disable a webhook

POST /api/v1/eventConfigurations/<webhookID>/disable

Disables a previously enabled webhook.

Disabled webhooks do not forward logs to systems outside Sitecore.

RequestResponse
curl -X POST '<baseURL>/api/v1/eventConfigurations/7050346545d5447da57b64be6416ac78/disable' \
-H 'Authorization: Bearer <bearerToken>' \
-H 'Accept: application/json'
RequestResponse
{
  "events": [
    {
      "id": "7050346545d5447da57b64be6416ac78",
      "enabled": false,
      "name": "sitecore.backbone.messages.audit.created",
      "description": null
    }
  ]
}

Do you have some feedback for us?

If you have suggestions for improving this article,