I'm trying to transfer large amounts of data (files/folders) between accounts before an account is deleted. So say user A is to be deleted soon, I want to move user A's files to a format where user B can access them.
I'm looking at two approaches, but have questions in both?
using copy_reference/get and copy_reference/save to manually transfer every file and folder
The issue is request batching. I don't want to make 1000s of calls if there are 1000s of files/folders I need to change the reference for.
Making a shared folder from which user B will have access to user A's files. Moving all of user A's files to the shared folder.
I'm not sure how to move files in bulk to a shared folder or how to maintain the right folder / file directory structure.
Are there any approaches I might be missing? Any data migration apis? If not, what would be the best approach and how can I address some of these questions?