Document Collections

Remove Document From Collection

POST

/ Remove a document from a document collection. The document still exists in the document catalog but will not longer be searchable in this document collection.

Request

This endpoint expects an object.
documentId
UUIDRequired
documentCollectionId
UUIDRequired
POST
$curl -X POST https://api.credal.ai/api/v0/documentCollections/removeDocumentFromCollection \
> -H "Authorization: Bearer <apiKey>" \
> -H "Content-Type: application/json" \
> -d '{
> "documentId": "82e4b12a-6990-45d4-8ebd-85c00e030c24",
> "documentCollectionId": "82e4b12a-6990-45d4-8ebd-85c00e030c24"
>}'