Rename a document
PATCHhttps://platform.docana.com/api/v1/documents/:id/
Updates the user-facing filename and/or title of a document. The stored file extension is preserved, and an empty title clears the user-defined title. Requires write access to the document’s collection.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 500
The updated document
Invalid body or filename
The API key or session is missing, expired, or malformed.
No write access to the document’s collection
Document not found or not visible to the caller
Unexpected server error.