---
search:
  tags:
    - System
    - PATCH
seo:
  description: >-
    Changes the global and alternative limits and the alternative speed toggle.
    Unlike PATCH… Reference for the PATCH /transfer endpoint in the piecemeal
    API.
sidebar:
  label: Change the speed limits
  badge: PATCH
title: Change the speed limits
type: openapi-operation
---
Changes the global and alternative limits and the alternative speed toggle. Unlike PATCH /settings, any signed-in user may do this.

`PATCH /transfer`

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

- `altDownloadLimit` (integer<int64>)
- `altSpeedEnabled` (boolean)
- `altUploadLimit` (integer<int64>)
- `downloadLimit` (integer<int64>)
- `uploadLimit` (integer<int64>)

Request body example:

```json
{
  "altDownloadLimit": 0,
  "altSpeedEnabled": true,
  "altUploadLimit": 0,
  "downloadLimit": 0,
  "uploadLimit": 0
}
```

**Responses**

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

Response example, 200:

```json
{
  "altSpeedEnabled": true,
  "connection": "connected",
  "dhtNodes": 0,
  "downloadLimit": 0,
  "downloadRate": 0,
  "freeSpace": 0,
  "interface": {
    "name": "string",
    "up": true
  },
  "peers": 0,
  "port": 0,
  "sessionDownloaded": 0,
  "sessionUploaded": 0,
  "torrents": 0,
  "uploadLimit": 0,
  "uploadRate": 0
}
```
