API - Disable Device

Is it possible to disable a device using the API instead of just deleting it? I’d like to be able to prevent LibreNMS from polling devices that no longer exist on our network without having to delete them entirely (just in case we need to be able to view historic graph data).


You can then just update the disabled field to 1.

Deadly, thanks laf!