Parameters:
Profile
- the name of the profile to delete best bets forid
(optional) - the individual best bet id(s) you want to deletePattern
(optional) - the best bet URL pattern(s) you want to delete
Returns:
NumDeleted
- the number of best bets that were removed
deleteBestBets
is used to delete best bets. There are two ways of doing this:
If you know the id(s) of the best bets you want to remove (from getBestBets
, above), you can provide the individual id
s.
Or you can specify one or more URL patterns of best bet(s) you want to delete. This can be a full, specific URL, or a star can be used to glob, e.g. http://www.example.com/dir/*
.