OpenSearch/rest-api-spec/api/nodes.shutdown.json

28 lines
919 B
JSON

{
"nodes.shutdown": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-shutdown.html",
"methods": ["POST"],
"url": {
"path": "/_shutdown",
"paths": ["/_shutdown", "/_cluster/nodes/_shutdown", "/_cluster/nodes/{node_id}/_shutdown"],
"parts": {
"node_id": {
"type" : "list",
"description" : "A comma-separated list of node IDs or names to perform the operation on; use `_local` to perform the operation on the node you're connected to, leave empty to perform the operation on all nodes"
}
},
"params": {
"delay": {
"type" : "time",
"description" : "Set the delay for the operation (default: 1s)"
},
"exit": {
"type" : "boolean",
"description" : "Exit the JVM as well (default: true)"
}
}
},
"body": null
}
}