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

30 lines
782 B
JSON
Raw Normal View History

{
"snapshot.delete": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html",
"methods": ["DELETE"],
"url": {
"path": "/_snapshot/{repository}/{snapshot}",
"paths": ["/_snapshot/{repository}/{snapshot}"],
"parts": {
"repository": {
"type": "string",
"required" : true,
"description": "A repository name"
},
"snapshot": {
"type": "string",
"required" : true,
"description": "A snapshot name"
}
},
"params": {
"master_timeout": {
"type" : "time",
"description" : "Explicit operation timeout for connection to master node"
}
}
},
"body": null
}
}