Create or update an ES|QL view

Auth

Required privileges

Index
create_view

Path parameters

name string required

The view name to create or update.

Request body

query string required

The ES|QL query string from which to create a view.

Responses

application/json
acknowledged boolean required

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