Remove User API


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 = {


        transferSheets: true,



    const deleteResult = await smartsheet.users.removeUser(options); 


I get { message: 'SUCCESS', resultCode: 0 } from this operation, but the files do not get transferred.

This is what I am following:

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.



Best Answer