private async Task DeleteUserAsync()
        {
            // delete users from AAD.
            // get users that do not have hearings in the future and have had hearing more than 3 months in the past.
            // (exclude judges, vhos, test users, performance test users.
            var usersToDelete = await _bookingsApiClient.GetPersonByClosedHearingsAsync();

            if (usersToDelete != null && usersToDelete.Usernames != null)
            {
                foreach (var username in usersToDelete.Usernames)
                {
                    await _userApiClient.DeleteUserAsync(username);
                }
            }
        }