Rename a document collection
Documents
Rename a document collection
Update the collection’s name. The slug is immutable. Requires admin permissions.
PATCH
Rename a document collection
Authorizations
Use Authorization: Bearer
Body
application/json
Response
Updated
A named grouping of documents within a project. Membership is the
Document.collection foreign key (single collection per document); a mirrored
["tag", slug] pair is also kept on each document's metadata so the
retrieval/extraction layers can scope to a collection.
Human-readable label (editable).
Stable identifier documents are linked by. Derived from name at creation
and immutable afterwards (renaming changes only name).
Number of active documents in this collection (server-annotated).