Move a document into a folder
PUThttps://platform.docana.com/api/v1/collections/:collectionId/documents/:documentId/folder/
Moves an uploaded document into a manual folder, or to the collection root with a null folderId. Connector-synced documents cannot be moved — their location mirrors the provider and the next sync run would move them back. Requires write access to the collection.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 500
The document was moved
The request body, query, or path failed validation. See validationErrors.
The API key or session is missing, expired, or malformed.
No write access to the collection
No such manual folder, or the document does not exist or is managed by a connector
Unexpected server error.