capabilities.work

Add an alias to an index (POST /_aliases)

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

Get something done

Add an alias to an index (POST /_aliases)

with Elastic

Use Elastic: its Elastic 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.

  • Can I add an alias to one index by POSTing to the plural _aliases path?
  • How do I set index routing for an alias with POST /_aliases?
Say it to your AI assistant
  • Via POST /_aliases, add alias {name} to index {index}.
  • POST /_aliases: alias {name} on {index} with index routing {index_routing}.
For your developer

POST /{index}/_aliases/{name} in Elastic Indices API. Full spec on APIs.io.