Delete Search Application

edit

This functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview 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

edit

DELETE _application/search_application/<name>

Prerequisites

edit

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

Path parameters

edit
<name>
(Required, string)

Response codes

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

Examples

edit

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

DELETE _application/search_application/my-app/