Data views v2
Data view APIs enable you to manage data views, formerly known as Kibana index patterns. Use these endpoints to list, retrieve, create, replace, and delete data views with the as-code data view definition.
- Use this API to manage complete data view definitions as code. A
PUTrequest creates the data view if it doesn't exist, or replaces its whole definition and removes any optional property you omit. - For partial updates, or for integrations that use the existing format, use the Data views API.