删除目标节点 API
编辑删除目标节点 API
编辑此功能旨在供 Elasticsearch 服务、Elastic Cloud Enterprise 和 Elastic Cloud on Kubernetes 间接使用。不支持直接使用。
删除目标节点。
请求
编辑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
描述
编辑此 API 删除目标节点。
示例
编辑此示例删除当前目标节点。
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