Do box have single delete user api that will help to transfer folder as well as delete the box user?
Before deleting a user from box system we can transfer the root folder from one user account to
another.
Once the root folder is transfered only then delete api muat be triggered.
So in all, the delete operation will have to call two api one to transfer and another to delete.
But as the transfer api call will return synchronously.
For users with a large number of files and folders, this means the call could take minutes or hours to return.
So the delete operation will be in pending state until we receive the transfer api response.
Do box have single delete box user api that will help to transfer as well as delete the box user?
-
hi
Thanks for quick update, existing file or folder transfer api is synchronous in nature.
If the size of the file is huge transfer will take good amount of time and delete box user api will not be triggered
as the earlier transfer api result are not returned.
As the Delete box user api is dependent on transfer api it will be difficult for our client to wait for the result of transfer api.
Regards,
Imran
-
Hi !
Thanks for checking back in on this. At the current time, this action still requires two calls; however, you can check out some more strategies for deprovisioning users here: https://developer.box.com/guides/users/deprovision
I'd also recommend raising this as a product feedback request at pulse.box.com. I did a preliminary search and I don't see a topic already raised that matches this desire, so expressing the need for this item in that forum will help to get visibility onto this topic.
Please sign in to leave a comment.
Comments
4 comments