Set file sharing for a linked collection
PATCHhttps://platform.docana.com/api/v1/applications/:id/collections/:collectionId/
Controls whether the application's assistant may send the collection's documents to end users as files. File sharing is off by default and the collection must already be linked to the application. An application's own collection is rejected: its documents are always shareable. The caller needs write access to the application and access to the collection.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 500
The file sharing setting is stored on the linked collection
The collection is not linked or is owned by the application
The API key or session is missing, expired, or malformed.
No application write or collection access
A resource referenced by the path does not exist or is not visible to the caller.
Unexpected server error.