listDeletedFiles( )


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

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

Authentication

This method may require higher-level permissions than the caller has, based on their identity and roles and permissions. In these cases, you can ensure the method is called with the required level of authorization by using one of the following:

Permissions
Read Media Manager
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>
Errors
400Invalid Argument

There are 2 errors with this status code.

This method may also return standard errors. Learn more about standard Wix errors.

Did this help?