Documentation Index Fetch the complete documentation index at: https://algolia.com/llms.txt
Use this file to discover all available pages before exploring further.
Required ACL: 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
C#
Go
Java
JavaScript
Kotlin
PHP
Python
Ruby
Scala
Swift
var response = await client . DeleteObjectsAsync (
"INDEX_NAME" ,
new List < string > { "1" , "2" }
);
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.
cancellationToken
cancellationToken
default: "default"
Parameter that can be used as a signal to cancel the request.
Index name from which to delete records.
Object IDs for records to delete.
Functional options to provide extra arguments. Signature: func(batchSize int) chunkedBatchOptionSets the number of object IDs to process in one batch.
The default batch size is 1,000.
Signature: func(withWaitForTasks bool) chunkedBatchOptionWhether to wait until all batch requests are done.
Signature: func(key string, value string) requestOptionSets extra header parameters for this request.
To learn more, see request options . Signature: func(key string, value string) requestOptionSets extra query parameters for this request.
To learn more, see request options . Index name from which to delete records.
Object IDs for records to delete.
Whether to wait until all batch requests are done.
Index name from which to delete records.
Object IDs for records to delete.
Whether to wait until all batch requests are done.
Index name from which to delete records.
Object IDs for records to delete.
Whether to wait until all batch requests are done.
Index name from which to delete records.
Object IDs for records to delete.
Index name from which to delete records.
Object IDs for records to delete.
Whether to wait until all batch requests are done.
Index name from which to delete records.
Object IDs for records to delete.
Whether to wait until all batch requests are done.
Index name from which to delete records.
Object IDs for records to delete.
Whether to wait until all batch requests are done.
Index name from which to delete records.
Object IDs for records to delete.
Whether to wait until all batch requests are done.