---
title: "Update upload settings"
method: PUT
path: "/bus/settings/upload"
tags: ["bus"]
---

# Update upload settings

`PUT /bus/settings/upload`

Updates the upload settings.

## Request body

- UploadSettings
  - `packing` UploadPackingSettings
    - `enabled` boolean — Whether upload packing is enabled
    - `slabBufferMaxSizeSoft` integer — Maximum size for slab buffers
  - `redundancy` RedundancySettings
    - `minShards` integer — The number of data shards a piece of an object gets erasure-coded into
    - `totalShards` integer — The number of total data shards a piece of an object gets erasure-coded into

## Response `200`

Successfully updated upload settings

## Other responses

- `400` — Malformed request
- `500` — Internal server error

## Changes

- **2025-01-23** `c38282599c5a` — 2 breaking
  - the `redundancy/minShards` request property type/format changed from `integer`/`int32` to `integer`/`uint8`
  - the `redundancy/totalShards` request property type/format changed from `integer`/`int32` to `integer`/`uint8`
- **2024-12-18** `922f156353c9` — 2 breaking, 1 info
  - removed the media type `text/plain` for the response with the status `400`
  - removed the media type `text/plain` for the response with the status `500`
  - api tag `bus` added
- **2024-12-17** `510f120682e9` — 1 info
  - endpoint added
- **2024-12-09** `f062c35d8f47` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/siafoundation/apis/renterd-api/changes/bus/settings/upload/put.md)

---

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