OpenSearch/rest-api-spec/api/indices.delete_mapping.json

30 lines
1.0 KiB
JSON

{
"indices.delete_mapping": {
"documentation": "http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/indices-delete-mapping.html",
"methods": ["DELETE"],
"url": {
"path": "/{index}/{type}/_mapping",
"paths": ["/{index}/{type}/_mapping", "/{index}/{type}", "/{index}/_mapping/{type}", "/{index}/{type}/_mappings", "/{index}/_mappings/{type}"],
"parts": {
"index": {
"type" : "list",
"required" : true,
"description" : "A comma-separated list of index names (supports wildcards); use `_all` for all indices"
},
"type": {
"type" : "list",
"required" : true,
"description" : "A comma-separated list of document types to delete (supports wildcards); use `_all` to delete all document types in the specified indices."
}
},
"params": {
"master_timeout": {
"type" : "time",
"description" : "Specify timeout for connection to master"
}
}
},
"body": null
}
}