From c3ead62637a51cafc2cec501fd0315219353a12a Mon Sep 17 00:00:00 2001 From: Viktor Elofsson Date: Wed, 26 Jun 2024 07:59:30 +0200 Subject: [PATCH] Add docs on torrents.remove --- docs/api/methods/torrents_remove.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/docs/api/methods/torrents_remove.md b/docs/api/methods/torrents_remove.md index b0199f2..69e3c84 100644 --- a/docs/api/methods/torrents_remove.md +++ b/docs/api/methods/torrents_remove.md @@ -1,3 +1,22 @@ # `torrents.remove` Removes a torrent. + +## Request + +```json +{ + // An array of torrent info hashes. + "info_hashes": [ + [ "abcdef0123456789abcd", null ] + ], + // Set to true to remove the data as well. + "remove_data": false +} +``` + +## Response + +```json +null +```