deleteObject
This helper method deletes multiple records from an index by their objectID
.
It constructs a Batch request with the deleteObject
action
and automatically sends requests in batches of 1,000.
Usage
Parameter
- C#
- Go
- Java
- JavaScript
- Kotlin
- PHP
- Python
- Ruby
- Scala
- Swift
Index name from which to delete records.
Object IDs for records to delete.
Whether to wait until all batch requests are done.
Parameter that can be used as a signal to cancel the request.
Additional request options.