Reject Devices
ninjaone_reject_devicesReject devices waiting in the NinjaOne pending approval queue, removing them from onboarding. Runs as a dry run by default, requiring explicit confirmation to apply.
Instructions
Reject devices waiting in the pending queue. Rejected devices are removed. Dry run by default. Body (object) per NinjaOne nodeApprovalOperation. Fields: devices (integer[]). Example: {"devices": [101, 102]}. Runs as a dry run unless dry_run is false: the first call returns the exact request without sending it. Destructive tier: needs NINJAONE_MODE=write, NINJAONE_ALLOW_DESTRUCTIVE=true and confirm: true.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"body": "<body>",
"confirm": "<confirm>"
},
"name": "ninjaone_reject_devices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Request body as NinjaOne documents it for nodeApprovalOperation. Field names are NinjaOne's (camelCase). | |
| confirm | Yes | Must be exactly true. States that this call changes live data. There is no undo from this server. | |
| dry_run | No | Default true: return the exact request without sending it. Pass false to apply. |