Remove Doc From Collection
remove_doc_from_collectionRemoves a document from a collection's allow-list without deleting the document or changing collection rules.
Instructions
Remove a document id from an AFFiNE collection allow-list. This does not delete the document or change collection rules.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| docId | Yes | AFFiNE document id. | |
| workspaceId | No | AFFiNE workspace id. Omit only when AFFINE_WORKSPACE_ID is configured. | |
| collectionId | Yes | AFFiNE collection id from list_collections or create_collection. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| name | Yes | ||
| rules | Yes | ||
| allowList | Yes |