Re: Deleting a User and Transferring Their Content
Is there a Box CLI option for this? I want to delete users via Box CLI, but I get the following error (Even when using --force):
box : Unexpected API Response [403 Forbidden | 5c188tg89wi9wczr.08f7e40527beae53d2e3021d52f44329f] forbidden - User cannot be deleted due to retention policies. Please transfer user content first
But I can't find anyway to do this Transfer via the Box CLI.
https://github.com/box/boxcli/blob/master/docs/users.md#box-usersdelete-id
So if I need to delete 100s of accounts, I have to do these one at a time in the GUI?
-
This will allow you to transfer all owned content from one user to another: https://github.com/box/boxcli/blob/master/docs/users.md#box-userstransfer-content-userid-newuserid. I believe you could use this in conjunction with a .csv to do multiple at a time as well by passing
--bulk-file-path=bulk-file-path
One column would be the USERID and another column would be the NEWUSERID.
Best,
Kourtney
Box Technical Support Engineer
サインインしてコメントを残してください。
コメント
1件のコメント