docs: def change_aliases(self, commands):
          """
          Change the aliases stored.
          (See :ref:`es-guide-reference-api-admin-indices-aliases`)
  
          :param commands: is a list of 3-tuples; (command, index, alias), where
                           `command` is one of "add" or "remove", and `index` and
                           `alias` are the index and alias to add or remove.
  
          """
          body = {'actions': [{command: dict(index=index, alias=alias, **params)}
                              for (command, index, alias, params) in commands]}
          return self.conn._send_request('POST', "_aliases", body)