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;
endpointId?: string | undefined;Webhook endpoint id.
Return value
›success?: boolean | undefined;
success?: boolean | undefined;Whether reactivation succeeded.
›message?: string | undefined;
message?: string | undefined;Backend status message.