added delete api request in devices, configs and users