bulkRestoreFoldersFromTrashBin( )


Restores the specified folders from the Media Manager's trash bin, and moves them to their original locations in the Media Manager.

The bulkRestoreFoldersFromTrashBin() function returns a Promise that resolves when the folders have been restored.

Authentication

This function requires elevated permissions and runs only on the backend and on dashboard pages.

Permissions
Manage Bookings Services and Settings
Manage Media Manager
Manage Portfolio
Manage Restaurants - all permissions
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
folderIdsArray<string>Required

IDs of the folders to restore from the Media Manager's trash bin.

Did this help?