Files
elasticsearch-js/docs/reference/api/IndicesUpdateAliasesAction.md
2025-05-28 10:02:30 -05:00

8 lines
614 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# `IndicesUpdateAliasesAction` [interface-IndicesUpdateAliasesAction]
| Name | Type | Description |
| - | - | - |
| `add` | [IndicesUpdateAliasesAddAction](./IndicesUpdateAliasesAddAction.md) | Adds a data stream or index to an alias. If the alias doesn’t exist, the `add` action creates it. |
| `remove_index` | [IndicesUpdateAliasesRemoveIndexAction](./IndicesUpdateAliasesRemoveIndexAction.md) | Deletes an index. You cannot use this action on aliases or data streams. |
| `remove` | [IndicesUpdateAliasesRemoveAction](./IndicesUpdateAliasesRemoveAction.md) | Removes a data stream or index from an alias. |