---
title: "Edit Torrent"
method: PUT
path: "/v1/api/torrents/edittorrent"
tags: ["torrents"]
---

# Edit Torrent

`PUT /v1/api/torrents/edittorrent`

Edits a torrent's data. This overwrites the pre-existing data for the torrent. Item must be cached. Requires API key.

## Request body

- EditTorrent
  - `torrent_id` integer, required
  - `name` string, nullable
  - `tags` string[], nullable
  - `alternative_hashes` string[], nullable
  - `airlocked` boolean, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `404` — Not Found
- `422` — Validation Error

---

[API](https://skmtc.dev/torbox/apis/torbox-api.md) · [All operations](https://skmtc.dev/torbox/apis/torbox-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/torbox/torbox-api/revisions/6017d1e0162a/schema)
