---
title: "Create bucket"
method: POST
path: "/bus/buckets"
tags: ["bus"]
---

# Create bucket

`POST /bus/buckets`

Create a new bucket.

## Request body

- object
  - `name` string — The name of the bucket.
  - `policy` BucketPolicy — Defines access rules and permissions for a bucket.
    - `publicReadAccess` boolean — Configures public read access to all the objects in the bucket.

## Response `200`

Successfully saved buckets

## Other responses

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

---

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