AladiaDocs
Api referenceWebhooks

Delete all logs of a webhook

Delete all logs

DELETE
/v2/webhooks/{webhookId}/logs

Delete all logs

AuthorizationBearer <token>

In: header

Path Parameters

webhookId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X DELETE "https://example.com/v2/webhooks/string/logs" \  -H "Content-Type: application/json" \  -d '{    "ids": [      "string"    ]  }'
{  "resource": {},  "request": {},  "webhookEventName": "course.created"}