The above command returns a 204 Success response on success.
To remove multiple items from your index as a batch, use the
DELETE /batch_items call. Note: this will remove all meta-information such as keywords we currently store on the items.
items parameter is required and is a list of items with the same attributes as defined in the Remove an Item resource. Because your autosuggest and search results can have multiple sections (i.e. products, categories, and search suggestions), you must specify the name of the section from which you're removing the items.
There is a limit of 1,000 items per batch request.
DELETE https://ac.cnstrc.com/v1/batch_items?key=[your API key]
|items||Yes||A list of items with the same attributes as defined in the Remove an Item resource.|
|section||Yes||Your autosuggest and search results can have multiple sections like "Products" and "Search Suggestions". This indicates which section this item is for. See your dashboard for the section names to use.|