Actions64
- Alert Actions
- Backup Actions
- Device Actions
- Approve/Reject
- Cancel Maintenance
- Delete
- Get
- Get Activities
- Get Alerts
- Get Custom Fields
- Get Dashboard URL
- Get Disks
- Get Jobs
- Get Last Logged On User
- Get Many
- Get OS Patch Installs
- Get OS Patches
- Get Policy Overrides
- Get Processors
- Get Software
- Get Software Patch Installs
- Get Software Patches
- Get Scripting Options
- Get Volumes
- Reboot
- Reset Policy Overrides
- Run Script
- Schedule Maintenance
- Update
- Update Custom Fields
- Group Actions
- Location Actions
- Organization Actions
- Query Actions
- Ticket Actions
- Webhook Actions
- Windows Service Actions
Device → Approve/Reject
AI-generatedSummary
Submits approval or rejection requests for one or more devices to NinjaOne.
Inputs
- approvalMode (required) — The approval action to perform: APPROVE to approve devices or REJECT to reject devices.
- approvalDeviceIds (required) — Comma-separated list of device IDs to approve or reject. Supports dynamic expressions, e.g., {{ $.devices.map(d => d.id).join(",") }}.
Output shape
A single record containing the API response data from the approval request.
The API response details the result of the approval or rejection operation.
Examples
Example 1: Bulk approve devices from a previous 'Get Many' node
Use an expression in Device IDs to pass the IDs from the previous node's output.
Example 2: Reject a specific list of devices
Set Approval Mode to REJECT and enter the comma-separated device IDs.