You are looking at documentation for an older release. Not what you want? See the current release documentation.
Allow to delete a mapping (type) along with its data. The REST endpoint
Note, most times, it make more sense to reindex the data into a fresh index compared to delete large chunks of it.