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.

Admin Method

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

Permission Scopes

For app development, you must have one of the following permission scopes:
Manage Bookings Services and Settings
Read Media Manager
Manage Media Manager
Learn more about permission scopes.
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