File
Copies a file synchronously.
Changed onCopies a file synchronously.
post/v2/accounts/{accountId}/files/copy
Request
- Base URLhttps://api.bytescale.com
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
accountIdstring required
Example:A623uY2
Request body
Example request
{
"destination": "/destination/file.txt",
"source": "/source/file.txt"
}Response
Success.
Changes
- warning
removed the request property
- info
added the new optional request property
- info
added the new optional request property
- info
removed the
FileNotFoundenum value from theresponse property for the response status - info
removed the
SkippedDueToConditionenum value from theresponse property for the response status
- warning