close

Filter

loading table of contents...

Solution Overview for Business Users / Version 2506.0

Table Of Contents

12.2.4 Update Existing Webhook Subscriptions

The example above shows two subscriptions for the tenant and environment preview, one with the ID a324392a-8b69-4e1e-a72b-22a02d1291f8 and one with 36e7d0cd-b8d4-42f8-89e8-e1af4b990e70. You can change the subscription using the following call: PUT /<environment>.<tenant id>/config/<subscription id>

As for the creation of a new webhook subscription, send the changed configuration as a JSON body. For example, to disable the subscription with the ID a324392a-8b69-4e1e-a72b-22a02d1291f8 send the call PUT /preview.<tenant id>/config/a324392a-8b69-4e1e-a72b-22a02d1291f8 with the following JSON body:

{
  "description": "Customer ACME, sandbox first",
  "namespace": "PUBLIC",
  "subscriptionTypes": [
  "CONTENT"
  ],
  "enabled": false,
  "endpoint": {
  "endpointType": "WEBHOOK",
  "url": "https://acme.com/firstsandbox/eventHubHookForContentEvents",
  "method": "POST",
  "authenticationMethod": {
  "authenticationType": "BASIC_AUTH",
  "username": "evenhub-first-sandbox-user",
  "password": "passwordForEventHubHook"
  }
  }
  }

Search Results

Table Of Contents
warning

Your Internet Explorer is no longer supported.

Please use Mozilla Firefox, Google Chrome, or Microsoft Edge.