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

29 lines
764 B
JSON

{
"indices.delete": {
"documentation": "This file is copied from es core just to verify that the .watches api hijacking works",
"methods": ["DELETE"],
"url": {
"path": "/{index}",
"paths": ["/{index}"],
"parts": {
"index": {
"type" : "list",
"required" : true,
"description" : "A comma-separated list of indices to delete; use `_all` or `*` string to delete all indices"
}
},
"params": {
"timeout": {
"type" : "time",
"description" : "Explicit operation timeout"
},
"master_timeout": {
"type" : "time",
"description" : "Specify timeout for connection to master"
}
}
},
"body": null
}
}