mirror of
https://github.com/Radarr/Radarr
synced 2025-01-03 05:44:50 +00:00
Fix markup + Renamed sections
parent
697a4b9c52
commit
7a05c27492
1 changed files with 3 additions and 5 deletions
|
@ -24,18 +24,16 @@ api.txt
|
||||||
|
|
||||||
So, id's 4, 68 and 93 are the id's required for the next step.
|
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`
|
`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:
|
Usage:
|
||||||
* example.com - your url/hostname where radarr is served from
|
* example.com - your url/hostname where radarr is served from
|
||||||
* X-Api-Key - Your API key found from `https://example.com/radarr/settings/general`
|
* 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`
|
`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:
|
Usage:
|
||||||
|
|
Loading…
Reference in a new issue