Delete desired nodes API
Delete desired nodes API
This feature is designed for indirect use by Elasticsearch Service, Elastic Cloud Enterprise, and Elastic Cloud on Kubernetes. Direct use is not supported.
New API reference
For the most up-to-date API details, refer to Cluster APIs.
Delete desired nodes.
Request
resp = client.perform_request(
"DELETE",
"/_internal/desired_nodes",
)
print(resp)
const response = await client.transport.request({
method: "DELETE",
path: "/_internal/desired_nodes",
});
console.log(response);
DELETE /_internal/desired_nodes
Description
This API deletes the desired nodes.
Examples
This example deletes the current desired nodes.
resp = client.perform_request(
"DELETE",
"/_internal/desired_nodes",
)
print(resp)
const response = await client.transport.request({
method: "DELETE",
path: "/_internal/desired_nodes",
});
console.log(response);
DELETE /_internal/desired_nodes
当前内容版权归 elasticsearch 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 elasticsearch .