NewWacht Bench is live — AI-assisted development for Wacht

updateWebhookEventCatalog()

Updates catalog metadata for an existing event catalog.

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 updateWebhookEventCatalog(slug: string) {  const client = await wachtClient();  return client.webhooks.updateWebhookEventCatalog(slug, {    name: 'Updated Catalog Name',  });}

Signature

function updateWebhookEventCatalog(  slug: string,  request: UpdateWebhookEventCatalogRequest,): Promise<WebhookEventCatalog>

Behavior

  • Applies a partial update and returns the server-side updated resource.
  • Treat omitted optional fields as unchanged unless explicitly documented otherwise.

On this page