Add an alias to an index (POST _alias)
One step with Elastic Stack. We can help you get access.
Get something done
Add an alias to an index (POST _alias)
with Elastic Stack
Use Elastic Stack: its Elasticsearch Request & Response Specification Indices API lets you add an alias to an index (POST _alias) in a single step (POST /{index}/_alias/{name}). capabilities.work can help you get signed up and connected.
- Can I create an index alias with a POST to the singular _alias path?
- Is it possible to make an alias the write index when adding it by POST?
Say it to your AI assistant
- POST alias {name} for index {index} on the _alias path.
- Via POST _alias, make {name} the write alias for {index} (is_write_index={is_write_index}).
For your developer
POST /{index}/_alias/{name} in Elasticsearch Request & Response Specification Indices API. Full spec on APIs.io.