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

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

- `urls` (string[] | null, required) — BEP 19 web seed URLs.

Request body example:

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

**Responses**

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

Response example, 200:

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