NewWacht Bench is live — AI-assisted development for Wacht

reactivateWebhookEndpoint()

Reactivates one endpoint that was disabled by backend safety controls.

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 endpointId: string = 'endpointid-123';  return client.webhooks.reactivateWebhookEndpoint(endpointId);}

Signature

function reactivateWebhookEndpoint(  endpointId: string,): Promise<ReactivateWebhookEndpointResponse>

Parameters

endpointId?: string | undefined;
Webhook endpoint id.

Return value

success?: boolean | undefined;
Whether reactivation succeeded.
message?: string | undefined;
Backend status message.

On this page