MCPcopy Create free account
hub / github.com/Mnexa-AI/e2a / updateWebhook

Method updateWebhook

mcp/src/client.ts:389–400  ·  view source on GitHub ↗
(
    id: string,
    patch: {
      url?: string;
      events?: Array<string>;
      description?: string;
      enabled?: boolean;
      filters?: { agentIds?: Array<string>; conversationIds?: Array<string>; labels?: Array<string> };
    },
  )

Source from the content-addressed store, hash-verified

387 }
388
389 updateWebhook(
390 id: string,
391 patch: {
392 url?: string;
393 events?: Array<string>;
394 description?: string;
395 enabled?: boolean;
396 filters?: { agentIds?: Array<string>; conversationIds?: Array<string>; labels?: Array<string> };
397 },
398 ): Promise<WebhookView> {
399 return this.sdk.webhooks.update(id, patch as UpdateWebhookRequest);
400 }
401
402 async deleteWebhook(id: string): Promise<void> {
403 await this.sdk.webhooks.delete(id);

Callers 1

registerWebhookToolsFunction · 0.45

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected