code: async def async_delete_all_keys(session, host, port, api_key, api_keys=[]):
      
      url = 'http://{}:{}/api/{}/config'.format(host, str(port), api_key)
  
      response = await async_request(session.get, url)
  
      api_keys.append(api_key)
      for key in response['whitelist'].keys():
          if key not in api_keys:
              await async_delete_api_key(session, host, port, key)
docs: Delete all API keys except for the ones provided to the method.