Delete a webhook
client.webhooks.delete(stringid, RequestOptionsoptions?): void
DELETE/v1/webhooks/{id}
Permanently deletes a webhook endpoint. It will no longer receive events.
Parameters
id: string
formatuuid
Delete a webhook
import FormbricksHub from '@formbricks/hub';
const client = new FormbricksHub({
apiKey: process.env['HUB_API_KEY'], // This is the default and can be omitted
});
await client.webhooks.delete('018e1234-5678-9abc-def0-123456789abc');