capabilities.work

Add an alias to an index (POST _aliases)

One step with Elastic Stack. We can help you get access.

Get something done

Add an alias to an index (POST _aliases)

Use Elastic Stack: its Elasticsearch Request & Response Specification Indices API lets you add an alias to an index (POST _aliases) in a single step (POST /{index}/_aliases/{name}). capabilities.work can help you get signed up and connected.

  • Is there a POST to the plural _aliases path for adding a single alias to an index?
  • Can I give an alias different search and index routing when I POST it to _aliases?
Say it to your AI assistant
  • POST alias {name} for {index} on the plural _aliases path.
  • Via POST _aliases, add {name} to {index} with search routing {search_routing} and index routing {index_routing}.
For your developer

POST /{index}/_aliases/{name} in Elasticsearch Request & Response Specification Indices API. Full spec on APIs.io.