diff --git a/Mass-Delete-via-API.md b/Mass-Delete-via-API.md index 913dccb..48284d2 100644 --- a/Mass-Delete-via-API.md +++ b/Mass-Delete-via-API.md @@ -34,12 +34,15 @@ Usage: * example.com - your url/hostname where radarr is served from * X-Api-Key - Your API key found from `https://example.com/radarr/settings/general` -You can manually enter id's as {x..X}: +You can manually enter id's as $(seq x y): -`for i in {x..X}; do curl https://example.com/radarr/api/movie/$i -X DELETE -H 'X-Api-Key: xxxxxxxxx' -k; done` +`for i in $(seq x y); do curl https://example.com/radarr/api/movie/$i -X DELETE -H 'X-Api-Key: xxxxxxxxx' -k; done` Usage: * x - first id in series -* X - last id in series +* y - last id in series -This will remove all movies with id's from the start to the end of the series. \ No newline at end of file +This will remove all movies with id's from the start to the end of the series. You may encounter ``"message": "Movie with ID 241 does not exist"`` errors. + +**Expected response** +For either method shown above, a successful delete will print ``{}``. \ No newline at end of file