webhooks.delete
Delete a webhook and its delivery log.
Details
- Endpoint
- DELETE /v0/webhooks/:webhookID
- Credits
- 10
- Rate class
- Light. Counts against your light requests per second.
Stops deliveries at once and removes the webhook, its queue and its log. Costs 10 credits.
Parameters
| Name | Type | Description |
|---|---|---|
| webhookIDrequired | string | The webhook id. |
Request
Send your key in the x-api-key header, or leave it out to use the keyless tier.
curl
curl -X DELETE "https://api.tide.ad/v0/webhooks/00000000-0000-0000-0000-000000000000" \
-H "x-api-key: YOUR_API_KEY"TypeScript
const res = await fetch("https://api.tide.ad/v0/webhooks/00000000-0000-0000-0000-000000000000", {
method: "DELETE",
headers: {
"x-api-key": process.env.TIDE_API_KEY!,
},
});
const data = await res.json();Response
No example response is available for this method yet.