Datto EDR icon

Datto EDR

Datto EDR (Infocyte): list and manage endpoints/agents, threats/alerts, scans, targets, quarantined files, and run response actions — isolate or scan an endpoint, archive or respond to alerts, restore quarantined files. For endpoint security operations, threat triage, and EDR reporting.

Webhook → Update

AI-generated

Summary

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 url in 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 error message 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"}.

Links

Discussion