docs: def remove_config(chassis_id=None,
                    community=None,
                    contact=None,
                    location=None,
                    test=False,
                    commit=True,
                    **kwargs):  # pylint: disable=unused-argument
  
      '''
      Removes a configuration element from the SNMP configuration.
  
      :param chassis_id: (optional) Chassis ID
  
      :param community: (optional) A dictionary having the following optional keys:
  
      - acl (if any policy / ACL need to be set)
      - mode: rw or ro. Default: ro
  
      :param contact: Contact details
  
      :param location: Location
  
      :param test: Dry run? If set as True, will apply the config, discard and return the changes. Default: False
  
      :param commit: Commit? (default: True) Sometimes it is not needed to commit
          the config immediately after loading the changes. E.g.: a state loads a
          couple of parts (add / remove / update) and would not be optimal to
          commit after each operation.  Also, from the CLI when the user needs to
          apply the similar changes before committing, can specify commit=False
          and will not discard the config.
  
      :raise MergeConfigException: If there is an error on the configuration sent.
      :return: A dictionary having the following keys:
  
      - result (bool): if the config was applied successfully. It is `False`
        only in case of failure. In case there are no changes to be applied
        and successfully performs all operations it is still `True` and so
        will be the `already_configured` flag (example below)
      - comment (str): a message for the user
      - already_configured (bool): flag to check if there were no changes applied
      - diff (str): returns the config changes applied
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' snmp.remove_config community='abcd'
      '''
  
      dic = {
          'template_name': 'delete_snmp_config',
          'test': test,
          'commit': commit
      }
  
      if chassis_id:
          dic['chassis_id'] = chassis_id
      if community:
          dic['community'] = community
      if contact:
          dic['contact'] = contact
      if location:
          dic['location'] = location
      dic['inherit_napalm_device'] = napalm_device  # pylint: disable=undefined-variable
  
      return __salt__['net.load_template'](**dic)