Update a document's access control list (ACL).
Update a document's ACL (access control list).
Only the document owner or an org-scoped key can modify ACL. User-scoped keys that are not the owner will receive a 403.
Path parameters
The ID of the collection.
The ID of the collection.
The ID of the document.
The ID of the document.
Request body
Example request
{
"read": [
"user_alice",
"user_bob"
],
"write": [
"user_alice"
]
}Response
Successful Response
Example response
{
"_internal": {
"collection_id": "col_articles",
"created_at": "2025-10-31T10:00:00Z",
"document_id": "doc_f8966ff29c18e20c6b45e053",
"internal_id": "org_abc123",
"lineage": {
"chain": [
{
"collection_id": "col_articles",
"feature_extractor_id": "text_extractor_v1",
"timestamp": "2025-10-31T10:00:00Z"
}
],
"path": "bkt_content/col_articles",
"root_bucket_id": "bkt_content",
"root_object_id": "obj_article_001",
"source_object_id": "obj_article_001",
"source_type": "bucket"
},
"metadata": {
"ingestion_status": "COMPLETED"
},
"modality": "text",
"namespace_id": "ns_xyz789",
"source_blobs": [
{
"blob_id": "blob_text_001",
"blob_property": "content",
"blob_type": "text"
}
],
"updated_at": "2025-10-31T10:00:00Z"
},
"author": "Dr. Smith",
"collection_id": "col_articles",
"description": "Text document with _internal structure",
"document_id": "doc_f8966ff29c18e20c6b45e053",
"title": "AI in Healthcare"
}Changes
Changed in 2 of the 30 revisions of this API.11
- ●
added the new
signalenum value to the_internal/anyOf[subschema #1: InternalPayloadModel]/lineage/anyOf[subschema #1: InternalLineageModel]/source_type/anyOf[subschema #1]/response property for the response status200response-property-enum-value-added
- ●
- ○
the endpoint scheme security
BearerAuth AND NamespaceHeaderwas added to the APIapi-security-added
This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○