Is there a better way to completely remove user access via the API?
Hello,
We're beginning to look into integrating the removal of a user's Smartsheet account as part of our employee offboarding process. My intent was to use the API for this functionality so that it could be automated.
Unfortunately, I'm not finding the API endpoints available to accomplish this task in a relatively small amount of steps. I'm able to remove the account from our organization, but they're still shared on items as well as part of groups in our organization (I specified the removeFromSharing, transferSheets, and transferTo elements). I know I could loop through all the groups, sheets, reports, and workspaces in our organization and remove access when it's found, but I'm hoping there's a better way that I'm missing.
When done manually, it's as simple as using the "Revoke Access to Items..." option within User Management, but I don't see this functionality exposed in the API.
Am I missing something, or is this just not easily available through the API? We're on a Business Plan.
Thank you!
Best Answer
-
Jeff Reisman ✭✭✭✭✭✭
@bsikesThe user deletion capabilities are completely messed up right now.
The Remover User method has been deprecated and does not work.
Deactivate User, while it removes the user's ability to access Smartsheet in any way, it still leaves all their Shares intact - so they still show up on sheets as having access, and on the downloaded Sheet Access reports. And Business Plan SysAdmins can't even access this method anyway.
At this time, there is no reasonable way to remove a user's shares through the API without going through every sheet, report, workspace, dashboard...
Regards,
Jeff Reisman,IT Business Analyst & Project Coordinator,Mitsubishi Electric Trane US
链接:Smartsheet Functions Help Pages链接:Smartsheet Formula Error Messages
If my answer helped solve your issue, please mark it as accepted so that other users can find it later. Thanks!
Answers
-
Jeff Reisman ✭✭✭✭✭✭
@bsikesThe user deletion capabilities are completely messed up right now.
The Remover User method has been deprecated and does not work.
Deactivate User, while it removes the user's ability to access Smartsheet in any way, it still leaves all their Shares intact - so they still show up on sheets as having access, and on the downloaded Sheet Access reports. And Business Plan SysAdmins can't even access this method anyway.
At this time, there is no reasonable way to remove a user's shares through the API without going through every sheet, report, workspace, dashboard...
Regards,
Jeff Reisman,IT Business Analyst & Project Coordinator,Mitsubishi Electric Trane US
链接:Smartsheet Functions Help Pages链接:Smartsheet Formula Error Messages
If my answer helped solve your issue, please mark it as accepted so that other users can find it later. Thanks!
-
bsikes ✭✭✭
Thanks for the response@Jeff Reisman
这是不幸的, but is what I was expecting. To help facility our manual process, I've at least setup a daily process to get a list of all our Smartsheet users and cross reference those with our employee directory. If a user exists that's not in our directory we should be alerted to that.
-
Jeff Reisman ✭✭✭✭✭✭
@bsikesYeah that's about all you can do.
I just get cc'd on email notifications to our support team re: termination IT tickets. My process is to remove the user from sharing and groups, and then deactivate the user. I've set up a monthly reminder to myself to delete deactivated users during the daily delete window (1:30pm Eastern - 9:00am Eastern.
Regards,
Jeff Reisman,IT Business Analyst & Project Coordinator,Mitsubishi Electric Trane US
链接:Smartsheet Functions Help Pages链接:Smartsheet Formula Error Messages
If my answer helped solve your issue, please mark it as accepted so that other users can find it later. Thanks!