Create or update an ES|QL view
- PUT /_query/view/{name}
- Index privileges:
create_view
Path Parameters
-
namestring Idrequired -
The view name to create or update.
Request
-
querystringrequired -
The ES|QL query string from which to create a view.
-
descriptionstring -
A free-text description of the view.
Response
application/json
-
acknowledgedbooleanrequired -
For a successful response, this value is always true. On failure, an exception is returned instead.