Delete a device

How to delete or uninstall a device, and what happens to agent upon removal.
Deleting a device from Connect's UI doesn't remove Connect's agent from the device, therefore, the next actions required to completely remove a device:
1. Run the next command on the device by physically accessing the device terminal or by using Connect's remote command:
rm -r /etc/upswift/ /etc/connect/ /etc/system/systemd/upswift.service /etc/system/systemd/connect.service
2. Remove the device from Connect's UI: go to the Devices tab and select the desired device.
3. On "General Details" Select "Change"
4. Select "Delete device"
5. On the verification pop-up, select "Delete device"