From 7a05c2749238dc6dfd64072f35e2eeff74597fd9 Mon Sep 17 00:00:00 2001 From: Abzie Date: Sat, 22 Apr 2017 23:28:03 +0100 Subject: [PATCH] Fix markup + Renamed sections --- Mass-Delete-via-API.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Mass-Delete-via-API.md b/Mass-Delete-via-API.md index 48284d2..88ccc1a 100644 --- a/Mass-Delete-via-API.md +++ b/Mass-Delete-via-API.md @@ -24,18 +24,16 @@ api.txt So, id's 4, 68 and 93 are the id's required for the next step. --- - -Oneshot example: +--- +**Oneshot example** `for i in 4 68 93; do curl https://example.com/radarr/api/movie/$i -X DELETE -H 'X-Api-Key: xxxxxxxxx' -k; done` 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 $(seq x y): - +**Sequential Delete** `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: