NinjaOne RMM icon

NinjaOne RMM

Interact with NinjaOne RMM API

Device → Approve/Reject

AI-generated

Summary

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.

Links

Discussion