removeShows method
Removes shows for the current user. It requires the user-library-modify
scope.
ids
- the ids of the shows to remove
market
- An ISO 3166-1 alpha-2 country code. If a country code is
specified, only content that is available in that market will be returned.
Implementation
Future<void> removeShows(List<String> ids, [Market? market]) async {
assert(ids.isNotEmpty, 'No show ids were provided for removing');
var queryMap = {
'ids': ids.join(','),
'market': market?.name,
};
await _api._delete('$_path/shows?${_buildQuery(queryMap)}');
}