Actions60
- Agent Actions
- Alert Actions
- Box Actions
- Extension Actions
- Flag Actions
- Location Actions
- Organization Actions
- Policy Actions
- Quarantined File Actions
- Report Actions
- Suppression Rule Actions
- Target Actions
- User Actions
- Webhook Actions
Webhook → Update
AI-generatedSummary
Updates an existing Datto EDR webhook by ID, sending a PATCH to Webhooks/{id} with the URL, optional name, and any extra JSON properties, and returns the API's response.
Inputs
- Webhook ID (required) — ID of the webhook to update. The operation throws an error if it is empty.
- URL (required) — Webhook endpoint URL, sent as
urlin the request body. - Name — Display name for the webhook, sent as
name. Skipped if left empty. - Additional Fields — JSON object merged into the request body (e.g. {"description":"...","method":"POST","headers":{}}). It is merged in field order after URL and Name, so its keys can override them. Must be valid JSON, or the parse fails.
Output shape
A single item containing the JSON response returned by the Datto EDR API for the updated webhook.
If the API returns an empty response, the node emits a placeholder item {found: 0, resource, operation}. API errors (401, 403, 404, 429, etc.) are raised as node errors unless Continue On Fail is enabled, in which case an item with an
errormessage is output.
Examples
Example 1: Point an existing webhook at a new endpoint URL
Webhook ID = 'abc123', URL = 'https://example.com/hooks/edr', leave Name and Additional Fields empty.
Example 2: Rename a webhook and change its HTTP method
Webhook ID = 'abc123', URL = 'https://example.com/hooks/edr', Name = 'SOC alerts', Additional Fields = {"method":"POST"}.