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
Agent → Delete
AI-generatedSummary
Deletes a single Datto EDR agent by ID by sending a DELETE request to the Agents/{id} endpoint.
Inputs
- Agent ID (required) — ID of the agent to delete. Used in the request path (Agents/{agentId}). If empty, the node throws an error saying the ID is required.
Output shape
A single item with a synthetic confirmation: { success: true, id:
The node only returns this item if the API call succeeds. API errors (401, 403, 404, 429 and others) raise a node error, or an item with an error message if Continue On Fail is enabled. The operation runs once per input item. It is not the same as Uninstall, which queues an uninstall job on the endpoint.
Examples
Example 1: Remove a decommissioned endpoint's agent record using an ID from an earlier node.
Resource: Agent; Operation: Delete; Agent ID: {{ $json.agentId }}
Example 2: Delete one specific agent by a fixed ID.
Resource: Agent; Operation: Delete; Agent ID: a literal agent ID string