SDK
SDK C# v1.x
1

You are currently looking at the documentation of a previous version of Kuzzle. We strongly recommend that you use the latest version. You can also use the version selector in the top menu.

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");