# elasticsearchSchemaManagement.updateSchema

## Description
Update Elasticsearch Index with given schema, default ingestion pipeline and data retention setting
Updates the schema, default ingestion pipeline and data retention setting for an existing Elasticsearch index.
The update applies schema changes and, if applicable, to default ingestion pipeline and data retention setting to manage data retention
effectively within the index. The existing default ingestion pipeline and data retention setting is retained unless explicitly modified.

NOTE: ttlField mapping type should be `date` or `long`.
If ttlField is of type `long`, it is assumed to be storing epoch milliseconds.

You can send the schema in the request body as a JSON object. To make use of 'verbose=true'
when retrieving the schema, include a `_meta` field in the schema to provide descriptions for each field.
The `_meta` field should follow the structure of `properties`, with descriptions for top-level and nested fields.

## When to use
<!-- Describe user intent that should trigger this tool -->

## What this returns
<!-- Describe the shape / purpose of the response -->

## Notes
<!-- Constraints, ordering, related tools, etc. -->
