Skip to content

Instantly share code, notes, and snippets.

@bonelifer
Forked from ShivamAmin/UnmonitorOnImport.bash
Created April 1, 2025 23:44
Show Gist options
  • Save bonelifer/605f3506cb5a3ae6eb4989a50f0d2c5d to your computer and use it in GitHub Desktop.
Save bonelifer/605f3506cb5a3ae6eb4989a50f0d2c5d to your computer and use it in GitHub Desktop.
Unmoni
#!/usr/bin/env bash
lidarrUrl=""
lidarrApiKey=""
curl -s "$lidarrUrl/api/v1/album/monitor" --request PUT --header "X-Api-Key:"${lidarrApiKey} -H "Content-Type: application/json" --data-raw '{"albumIds":['$lidarr_album_id'], "monitored": false}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment