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

You can only call this method when authenticated as a Wix app or Wix user identity.

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?