Skip to content

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

  • Target parent folder should be created before moving the file. To know more about creating a folder refer here
POST {baseUrl}/spaces/{spaceId}/files/{fileId}/move?complete=true
  • HEADER:

    • Authorization: Bearer {tid token}
  • BODY:

    • targetParentId - Parent id for the file where it needs to be moved

To know more about the move file API refer here.