This documentation contains work-in-progress information for future Elastic Stack and Cloud releases. Use the version selector to view supported release docs. It also contains some Elastic Cloud serverless information. Check out our serverless docs for more details.
Delete desired nodes API
editDelete desired nodes API
editThis feature is designed for indirect use by Elasticsearch Service, Elastic Cloud Enterprise, and Elastic Cloud on Kubernetes. Direct use is not supported.
Delete desired nodes.
Request
editresp = 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
editThis API deletes the desired nodes.
Examples
editThis 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