summaryrefslogtreecommitdiff
path: root/src/es5/delete-index-es
blob: ec3c6c6d72a608176c4b9e5ddb6583e585c9497f (plain) (blame)
1
2
3
4
5
6
7
8
#!/bin/sh

if [ -z "$1" ]; then
  echo "Usage: $0 <index>"
  exit 1
fi

curl -XDELETE 'http://stream.elevate.at:9200/'"$1"'?pretty'