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 → Create

AI-generated

Summary

Creates a new target group in Datto EDR by POSTing a name and optional description to the Targets endpoint, and returns the created record.

Inputs

  • Name — Name of the target group. Marked required by the API when creating, but the node does not enforce it. An empty value is omitted from the request body.
  • Description — Description of the target group. Omitted from the request body when left empty.

Output shape

A single item containing the JSON record of the newly created target group, as returned by the Datto EDR API (typically including its generated ID).

Only non-empty Name and Description values are sent. The node does not validate Name itself, so a missing name will surface as an API error. Errors are wrapped with status-specific messages (401, 403, 404, 429). With Continue On Fail enabled, the item outputs an error message instead. The request runs once per input item.

Examples

Example 1: Create a target group for a new customer site

Resource: Target; Operation: Create; Name: 'Acme HQ'; Description: 'Endpoints at Acme headquarters'

Example 2: Create target groups from incoming rows

Resource: Target; Operation: Create; Name set to expression {{$json.siteName}}; Description left blank

Links

Discussion