OpenSearch/rest-api-spec/api/cluster.node.shutdown.json

28 lines
781 B
JSON
Raw Normal View History

{
"cluster.node.shutdown": {
"documentation": "http://elasticsearch.org/guide/reference/api/admin-cluster-nodes-shutdown/",
"methods": ["POST"],
"url": {
"path": "/_shutdown",
"paths": ["/_shutdown", "/_cluster/nodes/_shutdown", "/_cluster/nodes/{nodeId}/_shutdown"],
"parts": {
"nodeId": {
"type" : "list",
"description" : "A comma-separated list of nodes to limit the returned information"
}
},
"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
}
}