Shares a storage folder with the client's portal. Every file in it and in the folders beneath it is shown to the client in the same folder structure. That includes files that are hidden from the client when the folder is shared, which become visible, and files and folders added later. A file is tracked as a visible document, or its hidden document shown, the next time its folder is read, in the portal or on the client's Documents tab. A file hidden after the folder was shared stays hidden. Sharing a folder that is already shared returns it. Refused with a 400 when the folder is inside a shared folder, or has a shared folder inside it. Returns 404 if the tenant has no external storage or the client has no folder mapped.
Requires: Update on ClientDocuments.
Parameters
| Name | Type | Description |
|---|---|---|
| tenant* | path string | The Tenant.Code |
The Tenant.Code |
||
| client* | path string | |
Request Body*
{
"externalFolderId": "string",
"folderPath": "string"
}