Radarr Mass Delete
Radarr Mass Delete
Overview
This script will delete all movies from Radarr that are unmonitored and have 0 disk space. I had to use this script in the past to delete in Mass for movies that were automatically added from lists that i had created.
Script
Note
Fill in HOST= and APIKEY= from Radarr.
radarr-mass-delete.sh
HOST=
API_KEY= # Settings > General
ids=$(curl --silent $HOST/api/v3/movie -X GET -H "X-Api-Key: $API_KEY" \
| jq '.[] | select(.monitored == false and .sizeonDisk == 0) | .id')
for id in $ids; do
echo "Deleting movie id $id"
curl $HOST/api/v3/movie/$id -X DELETE -H "X-Api-Key: $API_KEY"
done