deleteUserFavorite( )


Deletes the specified favorite page from the current Wix user's list of favorite dashboard pages. If no favorites remain in the list, it is deleted.

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
Manage Dashboard
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
favoriteIdstringRequired

ID of the favorite page to delete from the list.

Returns
Return Type:Promise<DeleteUserFavoriteResponse>
Errors

This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?