Spec-Zone.ru › Elasticsearch 8
›Elasticsearch Guide [8.17] ›REST APIs ›Search Application APIs

Delete Search Application

New API reference

For the most up-to-date API details, refer to Search application APIs.

This functionality is in beta and is subject to change. The design and code is less mature than official GA features and is being provided as-is with no warranties. Beta features are not subject to the support SLA of official GA features.

Removes a Search Application and its associated alias. Indices attached to the Search Application are not removed.

Request

DELETE _application/search_application/<name>

Prerequisites

Requires the manage_search_application cluster privilege. Also requires manage privileges on all indices that are included in the Search Application.

Path parameters

<name>
(Required, string)

Response codes

400
The name was not provided.
404 (Missing resources)
No Search Application matching name could be found.

Examples

The following example deletes the Search Application named my-app:

resp = client.search_application.delete(
    name="my-app",
)
print(resp)
const response = await client.searchApplication.delete({
  name: "my-app",
});
console.log(response);
DELETE _application/search_application/my-app/

© 2023-2025 Elasticsearch
As of September 2024, Elasticsearch is available under a choice of three licenses: the Server Side Public License (SSPL), the Elastic License, or the AGPLv3 (OSI approved).
Elasticsearch and the Elasticsearch logo are trademarks of Elasticsearch B.V., registered in the U.S. and in other countries.
https://www.elastic.co/guide/en/elasticsearch/reference/8.17/delete-search-application.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API