diff --git a/src/Nest/Indices/AliasManagement/Alias/Actions/AliasRemoveOperation.cs b/src/Nest/Indices/AliasManagement/Alias/Actions/AliasRemoveOperation.cs index 9890613ffb3..d57e3cd06ff 100644 --- a/src/Nest/Indices/AliasManagement/Alias/Actions/AliasRemoveOperation.cs +++ b/src/Nest/Indices/AliasManagement/Alias/Actions/AliasRemoveOperation.cs @@ -24,17 +24,25 @@ public class AliasRemoveOperation public IEnumerable Aliases { get; set; } /// - /// The index to which to add the alias. + /// The index to which to remove the alias. /// Multiple indices can be specified with /// [DataMember(Name ="index")] public IndexName Index { get; set; } /// - /// The indices to which to add the alias + /// The indices to which to remove the alias /// [DataMember(Name = "indices")] [JsonFormatter(typeof(IndicesFormatter))] public Indices Indices { get; set; } + + /// + /// If true, the alias to remove must exist. Defaults to false. + /// + /// Valid in Elasticsearch 7.9.0+ + /// + [DataMember(Name = "must_exist")] + public bool? MustExist { get; set; } } }