Synology Drive icon

Synology Drive

Synology Drive / FileStation operations

Update Webhook

AI-generated

Summary

Update an existing Synology Drive webhook's event subscriptions by specifying its Webhook ID, the associated App ID, and the new set of webhook events.

Inputs

  • Webhook ID (required) — The unique identifier of the webhook you want to update.
  • App ID — The application identifier associated with the webhook, defaults to 'n8n'.
  • Webhook Events (JSON) — A JSON array specifying the webhook event types to subscribe to, e.g., ["file.created"].

Output shape

a single JSON object containing the update operation result with success status and any returned data from the API.

The output returns the API response for the webhook update operation. Errors during the update are thrown or returned depending on node settings. The result includes updated webhook details or error information if the operation fails.

Examples

Example 1: Update webhook events

Provide the Webhook ID to update, optionally specify the App ID (default 'n8n'), and provide a JSON array of new webhook event types under 'Webhook Events (JSON)' parameter. The node will call Synology Drive API to update the webhook's subscribed events accordingly.

Links

Discussion