Update document metadata
PATCH a document to change its fields. The body is a partial update — send only the fields you want to change; you never resend vectors. Any fields you pass are merged into the document.
PATCH /v1/collections/{collection_id}/documents/batch (bulk update).
Updating metadata does not re-run extraction or change vectors — it only edits the stored payload. To change the embedding model, see Migrate Embedding Models.
PATCH /v1/collections/{collection_id}/documents/{document_id}/acl — see Permissions.
Delete data
| Delete | Endpoint | Cascades to |
|---|---|---|
| A document | DELETE /v1/collections/{collection_id}/documents/{document_id} | Just that document |
| Many documents | DELETE /v1/collections/{collection_id}/documents/batch | The documents you list |
| A bucket object | DELETE /v1/buckets/{bucket_id}/objects/{object_id} | Hard-deletes every collection document derived from that object |
| A collection | DELETE /v1/collections/{collection_id} | All documents in the collection |
| A namespace | DELETE /v1/namespaces/{namespace_id} | Everything in the namespace (buckets, collections, documents, retrievers) |
Synced sources
If documents came from a storage sync, seton_delete: "cascade" on the sync so that deleting a file in the source (S3, Google Drive, etc.) automatically removes the corresponding object and its derived documents. Otherwise deletes at the source are ignored.
Related
- Documents — document structure and payload
- Syncs — source-deletion cascade (
on_delete) - Ingest Data — objects, batches, collections

