Changes to Clear the devices collection

delete/api/devices