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 → Update
AI-generatedSummary
Updates an existing Datto EDR agent by ID, sending a PATCH to Agents/{id} with the new display name.
Inputs
- Agent ID (required) — ID of the agent to update. Used in the request path (Agents/{agentId}). The operation errors if it is empty.
- Name — New display name for the agent. Sent as
namein the PATCH body. If left empty, it is omitted from the body, so the request is sent with no changes.
Output shape
A single item containing the JSON response returned by the Datto EDR API for the PATCH request (typically the updated agent record).
The exact response shape depends on the API. Errors such as 401, 403 and 404 are raised as node API errors, or returned as an
errorfield if Continue On Fail is enabled. The separate 'Rename' operation does the same job via Agents/{id}/rename with Name required.
Examples
Example 1: Set a friendly display name on an agent found in an earlier step
Resource: Agent; Operation: Update; Agent ID: {{$json.id}}; Name: 'Finance-Laptop-01'