Copy a file or folder
Copy the entry at `root` and `path` into the directory given by `destRoot` and `destPath` (which may be on another volume), keeping its name. Requires the **admin** role.
In: cookie
Query Parameters
The file-browser root identifier.
The path relative to the root.
The destination root identifier.
The destination directory, relative to the destination root.
Response Body
application/json
application/json
curl -X POST "https://example.com/api/storage/fs/copy?root=string&destRoot=string"Share a folder over SMB POST
Share a folder over SMB. The folder must be inside your home folder or on a non-startup volume, and guest access needs a folder inside one of those, not the whole volume or home folder. Requires the **admin** role (and Admin Privileges).
Delete a file or folder POST
Delete the entry at `root` and `path`, recursing into folders. A symlink is removed as the link itself, never followed. Requires the **admin** role.