deleteSeries method

Future<bool> deleteSeries({
  1. required int seriesId,
  2. bool deleteFiles = false,
})

Handler for series/{id}.

Delete the series with the given series ID.

Required Parameters:

  • seriesId: Series ID for the series to delete

Optional Parameters:

  • deleteFiles: If true, will delete all files as well

Returns a boolean indicating if the deletion was successful

Implementation

Future<bool> deleteSeries({
  required int seriesId,
  bool deleteFiles = false,
}) async => _commandDeleteSeries(
  _client,
  seriesId: seriesId,
  deleteFiles: deleteFiles,
);