use box cli to delete folder different owner
I'm trying to Box cli to delete folders that haven't updated since a 1/1/2020. Is that possible?
If not possible, I've created a report of "folder and Files" for that user. When I use BoxCli, it cannot found the folder. I think the boxCLI account is not the same as the owner of that folder. That is why it cannot delete it.
-
Official comment
Hey Lenney,
You are correct. The Box CLI account will be its own service account. In order to access the content, you will need to collaborate that CLI account into the folders you want to access or make API calls with the as-user header.
Thanks,
Alex, Box Developer Advocate
Comment actions
Please sign in to leave a comment.
Comments
1 comment