Endpoint
Folders cannot be copied, only files. To copy a folder, copy its files individually.
Path parameters
Path to the file relative to the storage root. Use the
id from List Storage.photo.jpg · photos/portrait.jpgBody parameters
Path to the destination folder, relative to the storage root. Omit or leave empty to copy into the same folder as the source.
archive · photos/2024Response
true if the copy succeeded.The path of the new copy. If a file already exists at the target name, a unique name is generated automatically (e.g.
portrait copy.jpg, portrait copy (1).jpg).200 success · 404 not found · 500 error
Example
Related
Move File or Folder
Move instead of duplicating.
List Storage
Browse all files and folders.