Moving a File
You can use the moveFile call to move a file.
Parameters
Parameter | Description |
---|---|
targetId | Optional.
The target folder document ID. If the target folder is a top root folder, do not send this parameter. |
id | The source document ID. |
sourcePath |
If the id parameter is not presented in the URL, this field is required. This parameter defines the path for the source document, for example, /test/file.txt. |
targetPath | This parameter is required if the target folder is not a root folder and the
targetId parameter is not presented.
This parameter defines the target folder path, for example, /test2folder. |
Copyright © 2021. Cloud Software Group, Inc. All Rights Reserved.