Hello,
I am attempting to remove a user and transfer their files to another user.
Although the API documentation is clear, I am not getting the desired results.
User gets deleted, but the sheets never get transferred:
const options = {
id: personToDelete.id,
transferSheets: true,
transferTo: userToTransferTo.id,
}
const deleteResult = await smartsheet.users.removeUser(options);
console.log(deleteResult);
I get { message: 'SUCCESS', resultCode: 0 } from this operation, but the files do not get transferred.
This is what I am following:
https://smartsheet-platform.github.io/api-docs/?javascript#remove-user
The person I am trying to transfer the sheets to is a Licensed user, Resource Viewer, Group Admin, and System Admin, whose account status Active.
I appreciate any guidance.
Thanks,
Tanyar