listDeletedFiles( )


Retrieves a list of files in the Media Manager's trash bin.

The listDeletedFiles() function returns a Promise that resolves to an array of the specified deleted files' descriptors and cursor information.

Note: The Media Manager's trash bin (TRASH_ROOT folder) only contains temporarily deleted files, not permanently deleted files.

To retrieve a list of non-deleted files, use the listFiles() function.

Authentication

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

Permissions
Manage Bookings Services and Settings
Read Media Manager
Manage Media Manager
Manage Portfolio
Manage Restaurants - all permissions
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
optionsListDeletedFilesOptions

Options to use when listing deleted files from the trash bin.

Returns
Return Type:Promise<ListDeletedFilesResponse>
Was this helpful?
Yes
No