public async Task <ActionResult <Device> > Remove([FromQuery] ServerProvider provider, string deviceId) { await _deployment.DeleteDevice(provider, new Device { Id = deviceId }); return(NoContent()); }