Menu
Delete objects in batch
Delete objects in batch
DELETE
/v1/batch/objectsUse it in a workflow
- Add a step and choose the Weaviate connector.
- Pick the Delete objects in batch action (under batch).
- Fill in the fields below, then reference the result from later steps as
{{deleteObjectsInBatch.response.data}}.
Request
Query parameters
Request body
Enter the body as JSON in the step's Body field.
{
"match": {
"class": "City",
"where": {
"operands": [
{}
],
"operator": "GreaterThanEqual",
"path": [
"inCity",
"city",
"name"
],
"valueInt": 2000,
"valueNumber": 3.14,
"valueBoolean": false,
"valueString": "my search term",
"valueText": "my search term",
"valueDate": "TODO",
"valueIntArray": "[100, 200]",
"valueNumberArray": [
3.14
],
"valueBooleanArray": [
true,
false
]
}
},
"output": "minimal",
"deletionTimeUnixMilli": 0,
"dryRun": false
}
Response
Returns 200 with a any. Read it in later steps with {{deleteObjectsInBatch.response.data.<field>}}.
Need more? See the Weaviate guide for connection setup and behaviour shared by every action.
Was this page helpful?