Rename a document
Documents
Rename a document
DB-only rename — re-slugs the basename from name while preserving
the directory prefix and extension; the document id is stable. A
collision with another live document at the derived path →
409 DOCUMENT_PATH_TAKEN.
PATCH
Rename a document
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Required string length:
1 - 200Response
The renamed document summary.
Allowed value:
"document"Legacy alias of id — kept for pre-restructure consumers.
Last segment of the VFS path — the user-facing filename.