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

30 lines
789 B
JSON

{
"snapshot.delete": {
"documentation": "http://www.elasticsearch.org/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
}
}