v1

latestOpenAPI 3.0.12026-07-24501176.6 MB

Delete Webhook

Delete a webhook.

delete/webHooks/{webHookId}

Path parameters

webHookIdstring required

Identifier for the webhook.

Response

200

{"stackTrail":"paths:/webHooks/{webHookId}:delete:responses:200:content:application/json:schema:properties:errors","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/webHooks/{webHookId}:delete:responses:200:content:application/json:schema:properties:warnings","oasType":"schema","type":"unknown"}

Example response

{
  "data": {
    "attribution": {
      "createdOn": "2024-10-25T11:43:34.087+0000",
      "lastUpdatedOn": "2024-10-28T06:44:05.025+0000",
      "lastUpdatedBy": {
        "id": 75121810,
        "code": "test_123",
        "name": "test_123",
        "type": "TILL"
      },
      "createdBy": {
        "id": 75121810,
        "code": "test_123",
        "name": "test_123",
        "type": "TILL"
      }
    },
    "webHookId": "671b8466760af0000761b640",
    "name": "test_post_webhook_1234",
    "eventNames": [
      "loyaltyCustomerMerge"
    ],
    "webHookUrl": "http://eu.api.capillarytech.com",
    "webHookType": "HTTP",
    "methodType": "PUT",
    "webHookHeaders": {
      "Authorization": "Basic Q2FwaWxsYXJ5OklVTmhjR2xzYkdGeWVVQTROekl5",
      "Content-Type": "application/json"
    },
    "maxAllowedConnections": 10,
    "slaInSeconds": 150,
    "consumerGroupId": "8fb2fdec-53ba-44de-bce9-82eedcb29026"
  }
}