---
title: "Delete bucket"
method: DELETE
path: "/bus/bucket/{name}"
tags: ["bus"]
---

# Delete bucket

`DELETE /bus/bucket/{name}`

Deletes the specified bucket. A bucket can only be deleted if it is empty.

## Path parameters

- `name` string, required — The name of the bucket.

## Response `200`

Successfully deleted bucket

## Other responses

- `400` — Malformed request
- `404` — Bucket not found
- `409` — Bucket not empty
- `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)
