Delete a search application Beta; Added in 8.8.0

DELETE /_application/search_application/{name}

Remove a search application and its associated alias. Indices attached to the search application are not removed.

Required authorization

  • Index privileges: manage
  • Cluster privileges: manage_search_application

Path parameters

  • name string Required

    The name of the search application to delete.

Responses

  • 200 application/json
    Hide response attribute Show response attribute object
    • acknowledged boolean Required

      For a successful response, this value is always true. On failure, an exception is returned instead.

DELETE /_application/search_application/{name}
DELETE _application/search_application/my-app/
resp = client.search_application.delete(
    name="my-app",
)
const response = await client.searchApplication.delete({
  name: "my-app",
});
response = client.search_application.delete(
  name: "my-app"
)
$resp = $client->searchApplication()->delete([
    "name" => "my-app",
]);
curl -X DELETE -H "Authorization: ApiKey $ELASTIC_API_KEY" "$ELASTICSEARCH_URL/_application/search_application/my-app/"