"There are devices in Open-AudIT and I need to remove some to free-up licenses.
"I need to remove devices because I don't want them reported."
"How do I delete devices?"
Deleting a single device is as easy as clicking the delete icon on the Devices List or Devices Read pages.
Deleting multiple devices is easy to do using the Bulk Edit functionality.
Go to menu -> Admin -> Database -> List Tables.
Click the 'devices' table details icon.
You'll see various options for deleting rows (devices) from the database on that page. Click the RED Delete button in the Device Status: Deleted row.
And don't forget if you're using the JSON API, you can send a DELETE request to /open-audit/index.php/devices/ID where ID is the id of the device to delete. This can be wrapped in a loop to delete an array of devices, quite easily.
There are three scenarios.
This process is applicable with Open-Audit v 3.x
This process is applicable starting with Open-AudIT v 2.x
Go to menu -> Admin -> Database -> List Tables.
Click the 'system' table's Details icon.
You'll see various options for deleting rows (devices) from the database on that page. Click the RED Delete button in the Device Status: Deleted row.
If you edit the Open-AudIT configuration for the item "device_auto_delete" and set it to "y", after prompting:
Are you sure?
Your settings mean this will permanently DELETE this device and remove all its data from the database.
Is this acceptable?
on the Bulk Edit screen and the device details screen, the device(s) will be purged from the database.
This saves having to perform the additional steps (step 2 onward) in #2 above.
Need to delete lots of devices at once? Check out: How to Bulk Edit device attributes
Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.