Skip to content

Commit

Permalink
Update alias.asciidoc (#118553)
Browse files Browse the repository at this point in the history
Add section about removing index
  • Loading branch information
mimol91 authored and john-wagster committed Dec 17, 2024
1 parent 8dc8854 commit 0015e78
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions docs/reference/alias.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -407,3 +407,24 @@ POST _aliases
}
----
// TEST[s/^/PUT my-index-2099.05.06-000001\n/]

[discrete]
[[remove-index]]
=== Remove an index

To remove an index, use the aliases API's `remove_index` action.

[source,console]
----
POST _aliases
{
"actions": [
{
"remove_index": {
"index": "my-index-2099.05.06-000001"
}
}
]
}
----
// TEST[s/^/PUT my-index-2099.05.06-000001\n/]

0 comments on commit 0015e78

Please sign in to comment.