For the latest version (above 2.0), ES is no longer able to remove the mapping for a type. Instead, you should remove the index and recreate it using the new mappings. For more information, you can see this in the white paper here . For older versions (below 2.0), elasticsearch allows you to remove a mapping (type) along with its data. REST endpoints
[DELETE] /{index}/{type}
[DELETE] /{index}/{type}/_mapping
[DELETE] /{index}/_mapping/{type}
source
share