Actions31
- Alert Actions
- Application Actions
- Billing Actions
- Device Actions
- Fact Actions
- Instruction Actions
- Policy Actions
Device → Update
AI-generatedSummary
Update a device's policy assignment
Inputs
- deviceId (required) — ID of the device to update (e.g., from previous get or getAll).
- updateFields — Collection of fields to assign; includes a mandatory policyId.
Output shape
A single JSON object indicating success, with fields device_id and policy_id.
If the node fails and continueOnFail is false, the error propagates; otherwise a failure record is emitted.
Examples
Example 1: Assign device to a new policy
Device ID: $node[Device Get].json.id; Update Fields: { policyId: "12345" }