def delete_connect
      begin
        Rails.logger.info "Deleting Plaid User with token #{token_last_8}"
        client = Plaid::Client.new(env: PlaidRails.env,
          client_id: PlaidRails.client_id,
          secret: PlaidRails.secret,
          public_key: PlaidRails.public_key)
        
          client.item.remove(access_token)
          Rails.logger.info "Deleted Plaid User with token #{token_last_8}"
      rescue  => e
        message = "Unable to delete user with token #{token_last_8}"
        Rails.logger.error "#{message}: #{e.message}"
      end
    end
def delete_connect
      begin
        Rails.logger.info "Deleting Plaid User with token #{token_last_8}"
        client = Plaid::Client.new(env: PlaidRails.env,
          client_id: PlaidRails.client_id,
          secret: PlaidRails.secret,
          public_key: PlaidRails.public_key)
        
          client.item.remove(access_token)
          Rails.logger.info "Deleted Plaid User with token #{token_last_8}"
      rescue  => e
        message = "Unable to delete user with token #{token_last_8}"
        Rails.logger.error "#{message}: #{e.message}"
      end
    end
delete Plaid user