Is there a better way to completely remove user access via the API?

bsikes
bsikes ✭✭✭✭

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

Answers