code: def revoke_auth(self, load):
          '''
          Allow a minion to request revocation of its own key
  
          :param dict load: The minion payload
  
          :rtype: dict
          :return: If the load is invalid, it may be returned. No key operation is performed.
  
          :rtype: bool
          :return: True if key was revoked, False if not
          '''
          load = self.__verify_load(load, ('id', 'tok'))
  
          if not self.opts.get('allow_minion_key_revoke', False):
              log.warning(
                  'Minion %s requested key revoke, but allow_minion_key_revoke '
                  'is set to False', load['id']
              )
              return load
  
          if load is False:
              return load
          else:
              return self.masterapi.revoke_auth(loadf revoke_auth(self, load):
          '''
          Allow a minion to request revocation of its own key
  
          :param dict load: The minion payload
  
          :rtype: dict
          :return: If the load is invalid, it may be returned. No key operation is performed.
  
          :rtype: bool
          :return: True if key was revoked, False if not
          '''
          load = self.__verify_load(load, ('id', 'tok'))
  
          if not self.opts.get('allow_minion_key_revoke', False):
              log.warning(
                  'Minion %s requested key revoke, but allow_minion_key_revoke '
                  'is set to False', load['id']
              )
              return load
  
          if load is False:
              return load
          else:
              return self.masterapi.revoke_auth(load)
docs: Allow a minion to request revocation of its own key
  
          :param dict load: The minion payload
  
          :rtype: dict
          :return: If the load is invalid, it may be returned. No key operation is performed.
  
          :rtype: bool
          :return: True if key was revoked, False if not