> Portal Navigation: > > - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version. > - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages). > - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt # Method name: deleteUserFavoriteList(favoriteListId: string) # Method package: wixDashboardManagementV2 # Method menu location: wixDashboardManagementV2 --> favoriteList --> deleteUserFavoriteList # Method Link: https://dev.wix.com/docs/velo/apis/wix-dashboard-management-v2/favorite-list/delete-user-favorite-list.md # Method Description: Deletes the Wix user's list of favorite dashboard pages. # Method Code Examples: *** Note: do not assume any prop names or enum values other than the ones in the example. ## deleteUserFavoriteList example for dashboard page code ```javascript import { favoriteList } from 'wix-dashboard-management.v2'; async function deleteUserFavoriteList(favoriteListId) { try { const result = await favoriteList.deleteUserFavoriteList(favoriteListId); return result; } catch (error) { console.error(error); // Handle the error } } ``` ## deleteUserFavoriteList example for exporting from backend code ```javascript import { favoriteList } from 'wix-dashboard-management.v2'; import { webMethod, Permissions } from 'wix-web-module'; import { elevate } from 'wix-auth'; const elevatedDeleteUserFavoriteList = elevate(favoriteList.deleteUserFavoriteList); export const deleteUserFavoriteList = webMethod( Permissions.Anyone, async (favoriteListId) => { try { const result = await elevatedDeleteUserFavoriteList(favoriteListId); return result; } catch (error) { console.error(error); // Handle the error } } ); ``` ---