Skip to content
Dashboard

Delete a webhook

client.webhooks.delete(stringid, WebhookDeleteParams { featurebaseVersion } params?, RequestOptionsoptions?): WebhookDeleteResponse { id, deleted, object }
DELETE/v2/webhooks/{id}

Permanently deletes a webhook.

Path Parameters

  • id - The webhook ID (24-character ObjectId)

Response

Returns a deletion confirmation object:

{
  "id": "507f1f77bcf86cd799439011",
  "object": "webhook",
  "deleted": true
}

Caution

This operation is irreversible. The webhook and its configuration will be permanently deleted. After deletion, no events will be sent to the webhook endpoint.

Version Availability

This endpoint is only available in API version 2026-01-01.nova and newer.

ParametersExpand Collapse
id: string

Webhook unique identifier

params: WebhookDeleteParams { featurebaseVersion }
featurebaseVersion?: "2026-01-01.nova" | "2025-12-12.clover"

API version for this request. Defaults to your organization’s configured API version if not specified.

One of the following:
"2026-01-01.nova"
"2025-12-12.clover"
ReturnsExpand Collapse
WebhookDeleteResponse { id, deleted, object }
id: string

Unique identifier of the deleted webhook

deleted: true

Indicates the resource was deleted

object: "webhook"

Object type identifier

Delete a webhook

import Featurebase from 'featurebase-node';

const client = new Featurebase({
  apiKey: process.env['FEATUREBASE_API_KEY'], // This is the default and can be omitted
});

const webhook = await client.webhooks.delete('507f1f77bcf86cd799439011');

console.log(webhook.id);
{
  "id": "507f1f77bcf86cd799439011",
  "deleted": true,
  "object": "webhook"
}
Returns Examples
{
  "id": "507f1f77bcf86cd799439011",
  "deleted": true,
  "object": "webhook"
}