Path parameters
- node_id
string Required The node id of node to be removed from the shutdown state
Query parameters
- master_timeout
string Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.
Values are
nanos
,micros
,ms
,s
,m
,h
, ord
. - timeout
string Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.
Values are
nanos
,micros
,ms
,s
,m
,h
, ord
.
DELETE /_nodes/{node_id}/shutdown
Console
DELETE /_nodes/USpTGYaBSIKbgSUJR2Z9lg/shutdown
resp = client.shutdown.delete_node(
node_id="USpTGYaBSIKbgSUJR2Z9lg",
)
const response = await client.shutdown.deleteNode({
node_id: "USpTGYaBSIKbgSUJR2Z9lg",
});
response = client.shutdown.delete_node(
node_id: "USpTGYaBSIKbgSUJR2Z9lg"
)
$resp = $client->shutdown()->deleteNode([
"node_id" => "USpTGYaBSIKbgSUJR2Z9lg",
]);
curl -X DELETE -H "Authorization: ApiKey $ELASTIC_API_KEY" "$ELASTICSEARCH_URL/_nodes/USpTGYaBSIKbgSUJR2Z9lg/shutdown"
Response examples (200)
A successful response from `DELETE /_nodes/USpTGYaBSIKbgSUJR2Z9lg/shutdown`.
{
"acknowledged": true
}