delete method

Future<void> delete({
  1. required int movieId,
  2. bool addImportExclusion = false,
  3. bool deleteFiles = false,
})

Handler for movie/{id}.

Delete a single movie.

Required Parameters:

  • movieId: Movie identifier in Radarr

Optional Parameters:

  • addImportExclusion: If true, adds the movie to Radarr's exclusion list for import lists
  • deleteFiles: If true, deletes all files as well

Implementation

Future<void> delete({
    required int movieId,
    bool addImportExclusion = false,
    bool deleteFiles = false,
}) => _commandDeleteMovie(_client, movieId: movieId, addImportExclusion: addImportExclusion, deleteFiles: deleteFiles);