Move File
Move a file to a new location within the same space. The file will be moved to the target location and the file identifier will remain the same. The file will be removed from the source location after the move operation is completed. The move operation is immediate and the response contains the updated parentId
Prerequisites
Section titled “Prerequisites”- Target parent folder should be created before moving the file. To know more about creating a folder refer here
Request
Section titled “Request”POST {baseUrl}/spaces/{spaceId}/files/{fileId}/move?complete=true-
HEADER:
- Authorization:
Bearer {tid token}
- Authorization:
-
BODY:
targetParentId- Parent id for the file where it needs to be moved
Response
Section titled “Response”To know more about the move file API refer here.