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
Target → Delete
AI-generatedSummary
Deletes a Datto EDR target group by ID by sending a DELETE request to the Targets/{id} endpoint of the Datto EDR (Infocyte) API.
Inputs
- Target ID (required) — ID of the target group to delete. The operation throws an error if this is empty. It is sent as the path segment in DELETE Targets/{targetId}.
Output shape
A single item with { success: true, id:
The API response body is discarded, so no details of the deleted target are returned. API errors (401, 403, 404, 429 and others) are raised as node errors, or emitted as { error } items if Continue On Fail is enabled. Runs once per input item.
Examples
Example 1: Remove a decommissioned target group by a known ID.
Resource: Target, Operation: Delete, Target ID: the ID of the group to remove.
Example 2: Delete target groups returned by an earlier Get Many step.
Resource: Target, Operation: Delete, Target ID: ={{ $json.id }}