Mega icon

Mega

Work with Mega API

Webhook → Update

AI-generated

Summary

Update a specific webhook's configuration by specifying its ID and the fields to modify, such as name, subscribed events, and delivery URL.

Inputs

  • Webhook ID (required) — Numeric ID of the webhook to update.
  • Update Fields — Object containing fields to update: 'name' (string), 'subscriptions' (array of event types), and 'url' (string) where events are sent.

Output shape

A single JSON object representing the updated webhook entity returned by the Mega API.

The output includes the updated webhook properties. Only the specified fields in 'Update Fields' are changed; others remain unchanged.

Links

Discussion