NinjaOne RMM icon

NinjaOne RMM

Interact with NinjaOne RMM API

Device → Reset Policy Overrides

AI-generated

Summary

Reset policy overrides on a specified device, removing any custom policy settings applied to it.

Inputs

  • Device (required) — Select the target device to reset policy overrides for. You can choose from a searchable list of devices or specify the device ID directly. Supports expressions.

Output shape

a single JSON object indicating success status and the deviceId for which policy overrides were reset

The operation performs a DELETE request to remove the policy overrides for the specified device. The response includes a success flag and the deviceId to confirm the operation. If the operation fails, an error is thrown.

Examples

Example 1: Reset policy overrides on a device selected from the device list

Set 'Device' parameter to the desired device by selecting it from the list mode in the resource locator.

Example 2: Reset policy overrides on a device by specifying its ID

Set 'Device' parameter to 'By ID' mode and input the device's numeric ID or use an expression resolving to the device ID.

Links

Discussion