/files/{file_id}/copyCopy a file
Creates a copy of a file in a destination folder. Supply parent.id to select the destination, and optionally use name or version to control the copied file. Use fields to request additional attributes in the returned file representation.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
Optional copy settings. The parent object identifies the destination folder, while name and version can customize the copied file.
A 400 is returned when a parameter is missing or invalid. A 403 is returned when the authenticated user lacks permission to copy the file, and a 404 is returned when the source file or destination folder cannot be found or accessed. A 409 is returned when a source or destination folder is locked or a file with the requested name already exists; parent.id must identify the destination folder.