Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
mohamedboucherit
5 years agoExplorer | Level 3
Would like to know, if we can script transfering files of user before deleting his access?
Hello,
I would like to know, if it's possible to use any kind of scripting like Powershell or Rest API, to transfer files and folders of a user to a (backup folder) before deleting his access?
We need this to automate deprovisionning of resources assigned to employees in our company.
Thank you in advance,
While not considered a "REST" API in particular, Dropbox does offer an API you can use for listing, uploading, and downloading files, among other operations. You can find everything you need to get started with the Dropbox API, including documentation, tutorials, and SDKs here. We recommend using one of the official SDKs, but you can also call the API directly from any platform that can make HTTPS requests.
By the way, note that if you're on a Business team, you can have Dropbox transfer files from a team member when de-provisioning them. You can find more information on that feature in the help center here.
3 Replies
- Greg-DB5 years ago
Dropbox Community Moderator
While not considered a "REST" API in particular, Dropbox does offer an API you can use for listing, uploading, and downloading files, among other operations. You can find everything you need to get started with the Dropbox API, including documentation, tutorials, and SDKs here. We recommend using one of the official SDKs, but you can also call the API directly from any platform that can make HTTPS requests.
By the way, note that if you're on a Business team, you can have Dropbox transfer files from a team member when de-provisioning them. You can find more information on that feature in the help center here.
- mohamedboucherit5 years agoExplorer | Level 3
Greg-DB Thank you for your answer
We would like to know, if we can transfer this data (for user deprovisionning), to a folder for example, backup, that would not be linked to a specific user account?
Thank you in advance,
- Greg-DB5 years ago
Dropbox Community Moderator
No, whether you write a script to copy the files over using the API, or use the Dropbox Business feature, the files need to be put in some account.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!