NewWacht Bench is live — AI-assisted development for Wacht

deleteWebhookEndpoint()

Deletes an endpoint from a webhook app.

Usage

The following example shows a basic usage of the backend client from @wacht/nextjs/server.

import { wachtClient } from '@wacht/nextjs/server';export async function example() {  const client = await wachtClient();  const appSlug: string = 'appslug';  const endpointId: string = 'endpointid-123';  return client.webhooks.deleteWebhookEndpoint(appSlug, endpointId);}

Signature

function deleteWebhookEndpoint(  appSlug: string,  endpointId: string,  client?: WachtClient,): Promise<void>

Parameters

appSlug: string;
Slug identifier for the target resource.
endpointId: string;
Identifier for the target resource.

On this page