SDK
SDK C# v2.x
2

MDeleteAsync #

Deletes multiple indexes.

Arguments #

Task<JArray> MDeleteAsync(JArray indexes);
ArgumentTypeDescription
indexes
JArray
List of indexes names

Return #

Returns a JArray containing the list of indexes names deleted.

Usage #

JArray indexes = JArray.Parse("['nyc-open-data', 'mtp-open-data']");
JArray deleted = await kuzzle.Index.MDeleteAsync(indexes);
Console.WriteLine($"Successfully deleted {deleted.Count} indexes");