Document

Updates a Document

PATCH
Updates a Document in a DocumentCollection by UUID

Path parameters

collectionNamestringRequired
Name of the Document Collection
documentUUIDstringRequired
UUID of the Document to be updated

Request

This endpoint expects an object.
document_id
stringOptional
metadata
map from strings to anyOptional

Response

This endpoint returns an object
message
stringOptional

Errors

PATCH
1curl -X PATCH https://api.getzep.com/api/v2/collections/collectionName/documents/uuid/documentUUID \
2 -H "Authorization: Api-Key <apiKey>" \
3 -H "Content-Type: application/json" \
4 -d '{}'
1{
2 "message": "message"
3}