A beta version of the new Box developer documentation site is launching soon! Updated Developer Guides, modern API Reference, and AI-powered search are on the way to help you build with Box faster. Stay tuned for more updates.
To restore a folder that has been moved to the trash, but has not yet been
purged, make a POST request to the /folders/:folder_id endpoint. This will
place the folder in the original parent folder if it is still available, or you
optionally can specify a parent folder.
During a folder restoration operation, part of the file tree will be locked,
such as the source folder for the request and all of its descendants, as
well as the destination folder.
During the restoration of the folder, no other move, copy, delete, or
restore operation can be performed on the locked folders.