public static async Task Run(GeotabDataOnlyPlanAPI api, string deviceId)
        {
            ConsoleUtility.LogExampleStarted(typeof(RemoveDeviceAsyncExample).Name);

            try
            {
                ConsoleUtility.LogInfoStart($"Removing device '{deviceId}' from database '{api.Credentials.Database}'...");

                List <Device> deviceCache = await ExampleUtility.GetAllDevicesAsync(api);

                Device deviceToRemove = deviceCache.Where(targetDevice => targetDevice.Id.ToString() == deviceId).First();
                await api.RemoveDeviceAsync(deviceToRemove);

                ConsoleUtility.LogComplete();
            }
            catch (Exception ex)
            {
                ConsoleUtility.LogError(ex);
            }

            ConsoleUtility.LogExampleFinished(typeof(RemoveDeviceAsyncExample).Name);
        }