Supprimer l'index dans Elasticsearch Python
from elasticsearch import Elasticsearch
es = Elasticsearch()
es.indices.delete(index='test-index', ignore=[400, 404])
Disgusted Deer