code: def users_reset_avatar(self, user_id=None, username=None, **kwargs):
          
          if user_id:
              return self.__call_api_post('users.resetAvatar', userId=user_id, kwargs=kwargs)
          elif username:
              return self.__call_api_post('users.resetAvatar', username=username, kwargs=kwargs)
          else:
              raise RocketMissingParamException('userID or username required')
docs: Reset a user’s avatar