Unknown SDK

MDeleteAsync

Deletes multiple indexes.

Arguments

Copied to clipboard!
Task<JArray> MDeleteAsync(JArray indexes);
Argument Type Description
indexes
JArray
List of indexes names

Return

Returns a JArray containing the list of indexes names deleted.

Usage

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