---
search:
  tags:
    - Torrents
    - POST
seo:
  description: >-
    Stop a torrent. Reference for the POST /torrents/{hash}/stop endpoint in the
    piecemeal API.
sidebar:
  label: Stop a torrent
  badge: POST
title: Stop a torrent
type: openapi-operation
---
`POST /torrents/{hash}/stop`

**Responses**

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

Response example, 200:

```json
{
  "activeTime": 0,
  "addedAt": 0,
  "autoManaged": true,
  "category": "string",
  "comment": "string",
  "complete": true,
  "completed": 0,
  "completedAt": 0,
  "contentLayout": "Original",
  "contentPath": "string",
  "createdAt": 0,
  "createdBy": "string",
  "downloadRate": 0,
  "downloaded": 0,
  "error": "string",
  "eta": 0,
  "firstLastPiece": true,
  "forced": true,
  "hasMetadata": true,
  "hash": "string",
  "inactiveSeedingTimeLimit": 0,
  "incompletePath": "string",
  "lastActivityAt": 0,
  "magnet": "string",
  "multiFile": true,
  "name": "string",
  "peers": 0,
  "pieceSize": 0,
  "pieces": 0,
  "piecesHave": 0,
  "private": true,
  "progress": 0.1,
  "queuePosition": 0,
  "ratio": 0.1,
  "ratioLimit": 0.1,
  "rootPath": "string",
  "savePath": "string",
  "seedGoalAction": "default",
  "seedGoalMode": "default",
  "seedGoals": {
    "action": "stop",
    "inactiveSeedingTimeLimit": 0,
    "mode": "any",
    "ratioLimit": 0.1,
    "seedingTimeLimit": 0
  },
  "seedingTime": 0,
  "seedingTimeLimit": 0,
  "seeds": 0,
  "sequential": true,
  "sessionDownloaded": 0,
  "sessionUploaded": 0,
  "size": 0,
  "state": "metadata",
  "stopped": true,
  "swarmPeers": 0,
  "tags": [
    "string"
  ],
  "totalSize": 0,
  "tracker": "string",
  "trackers": 0,
  "uploadRate": 0,
  "uploaded": 0
}
```
