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.

Target → Update

AI-generated

Summary

Updates an existing Datto EDR target group by ID, sending a PATCH request with the optional Name and Description values and returning the API's response.

Inputs

  • Target ID (required) — ID of the target group to update. The node throws an error if it is empty.
  • Name — New name for the target group. If left empty, it is omitted from the request body.
  • Description — New description for the target group. If left empty, it is omitted from the request body.

Output shape

A single item containing the JSON record returned by the Datto EDR API for the updated target (PATCH Targets/{id}).

Empty Name or Description fields are not sent, so you cannot clear a value by leaving it blank. If every field is empty, the request goes out with no body. API errors (401, 403, 404, 429 and others) are raised as node errors, or returned as an error item when Continue On Fail is enabled.

Examples

Example 1: Rename a target group

Target ID = 12345, Name = 'Finance Workstations', Description left empty.

Example 2: Update a group's description from a previous node's output

Target ID = {{$json.id}}, Description = 'Managed by n8n sync', Name left empty.

Links

Discussion