
Weaviate Delete
CertifiedDelete objects from a Weaviate class
Weaviate Delete
Delete objects from a Weaviate class
Deletes a single object by ID or multiple objects with an AND filter. If no filter is provided, all objects in the class are deleted, so use cautiously.
type: io.kestra.plugin.weaviate.DeleteExamples
Send delete request to a Weaviate database. Use object ID or other properties.
id: weaviate_delete_flow
namespace: company.team
tasks:
- id: delete
type: io.kestra.plugin.weaviate.Delete
url: https://demo-cluster-id.weaviate.network
className: WeaviateObject
# safest: delete a single known object
objectId: "{{ outputs.previous.id }}"
# alternative: delete by AND filter on fields
# filter:
# status: archived
Properties
className *Requiredstring
1Class name for which you want to delete data
url *Requiredstring
1Configure Weaviate endpoint URL
Full http or https host for the Weaviate cluster, including port when not default. Example: localhost: 8080 or https://cluster-id.weaviate.network
apiKey string
Provide managed cluster API key
Optional bearer-style key for hosted Weaviate; if omitted, requests use anonymous access.
filter object
Filter attributes for deletion
Map of field name to value combined with AND; if omitted, a catch-all filter removes every object in the class.
headers object
Set custom request headers
Key/value headers appended to every call, e.g. extra auth tokens for upstream services.
objectId string
Object ID to delete
When set, deletes only this object and ignores any filter.
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.
Outputs
className string
Class name where objects were deleted
deletedCount integer
0Number of deleted objects
ids array
IDs of deleted objects
success boolean
Whether the delete operation succeeded