You are looking at documentation for an older release. Not what you want? See the current release documentation.
Used to check if a type/types exists in an index/indices.
curl -XHEAD 'http://localhost:9200/twitter/tweet'
The HTTP status code indicates if the type exists or not. A
it does not exist, and
200 means it does.