Sonarr version (exact version): 3.0.5.1144 Mono version (if Sonarr is not running on Windows): 6.12.0.122 OS: Linux Debug logs: x Description of issue: x
Hello
I ask for help in creating a Linux Curl or sh script that would remove a serial from Sonarr that has the “Unmonitored” status
HOST=http://192.168.1.253:8989
API_KEY=4ddac9b1659b4a12bba316b22e9fa9f9
ids=$(curl --silent $HOST/api/series -X GET -H "X-Api-Key: $API_KEY" \
| jq '.[] | select(.monitored == false) | .id')
for id in $ids; do
echo "Deleting movie id $id"
curl --silent $HOST/api/series/$id -X DELETE -H "X-Api-Key: $API_KEY"
done
How to make it so that when I delete a series through Plex, the status monitored == false also changes in sonar. What does it have to do not for each episode separately, but for the whole series?