def delete_alias(self, alias, indexes):
        query = {}
        query['actions'] = []
        for index in indexes:
            query['actions'].append({"delete": {"index": index, "alias": alias}})

        path = self._make_path(['_aliases'])
        self.send_request('POST', path, body=query)
        resp = json.loads(self.last_response.text)
        return self.check_result(resp, 'ok', True)
Creates the window's menu bar.
dataset/ETHPy150Open eriky/ESClient/esclient.py/ESClient.delete_alias--crossover with--dataset/ETHPy150Open enthought/mayavi/examples/tvtk/scene.py/ExampleWindow._create_my_menu_bar