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.
You can only call this method when authenticated as a Wix app or Wix user identity.
function listDeletedFiles(
options: ListDeletedFilesOptions,
): Promise<ListDeletedFilesResponse>;
Options to use when listing deleted files from the trash bin.
import { files } from "@wix/media";
async function listDeletedFiles(options) {
const response = await files.listDeletedFiles(options);
}
There are 2 errors with this status code.
This method may also return standard errors. Learn more about standard Wix errors.