Removing Data

A situation may arise where you’d like certain data that you’ve added to not be considered by your Collection. This is simple to fix! It’s very similar to adding data, but without the labels.

Removing data does not count towards your monthly call volume.

// String data
collection.removeExample("string")
.then(console.log);

// Image data
collection.removeExample("image-url or b64-image")
.then(console.log);

// Batch remove data
collection.removeExample(["string1", "string2", ...])
.then(console.log);