Copy a file, or a folder with everything in it. to is the full path of the copy, with the name; its folder must exist.An existing file at to is only replaced with overwrite: true, and only by a file. A folder is never replaced (409).Scope: hosting-files:write.
Request
Authorization
API Key
Add parameter in header
API-key
Example:
API-key: ********************
or
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.