Move a file or folder, or give it another name. to is the full new path, 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).The folders the hosting account relies on cannot be deleted, moved, replaced or have their permissions changed (409): /domains, the folder of a domain on the package and its public_html and private_html, /public_html, /.ssh, /backups and /tmp. What is in them can change. E-mail (/imap, /Maildir, /mail) and /.shadow are not available through the file endpoints (403).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.