Actions36
- List Files
- Search Files
- Download File
- Upload File
- Create Folder
- Rename
- Delete
- Copy / Move
- List Starred Files
- List Recent Files
- List Shared with Me
- List Shared with Others
- Get File Ancestors
- Create Share Link
- List Share Links
- Update Share Permissions
- List Labels
- Create Label
- Update Label
- Delete Label
- Add Label to File
- List Files by Label
- Star File
- Convert Office File
- List Team Folders
- Get Team Folder Members
- Create Webhook
- List Webhooks
- Get Webhook
- Update Webhook
- Delete Webhook
- Get File Thumbnail
- Upload from DSM
- Request Access
- Custom Drive Call
- List Drive APIs
Update Webhook
AI-generatedSummary
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.
