---
search:
  tags:
    - Torrents
    - PUT
seo:
  description: >-
    Replace a torrent's trackers. Reference for the PUT
    /torrents/{hash}/trackers endpoint in the piecemeal API.
sidebar:
  label: Replace a torrent's trackers
  badge: PUT
title: Replace a torrent's trackers
type: openapi-operation
---
`PUT /torrents/{hash}/trackers`

**Request body** (`application/json`, required)

- `tiers` (string[][] | null, required) — Announce URLs by tier, in order. Empty tiers are dropped.

Request body example:

```json
{
  "tiers": [
    [
      "string"
    ]
  ]
}
```

**Responses**

- `200` — OK
- `401` — Unauthorized
- `403` — Forbidden
- `422` — Unprocessable Entity
- `500` — Internal Server Error

Response example, 200:

```json
{
  "items": [
    {
      "tier": 0,
      "url": "string"
    }
  ]
}
```
