---
title: "Delete a bucket."
method: DELETE
path: "/{bucketName}"
tags: ["s3"]
---

# Delete a bucket.

`DELETE /{bucketName}`

## Response `204`

No Content, i.e Bucket deleted successfully

## Other responses

- `403` — Forbidden; Access Denied, InvalidAccessKey, SignatureDoesNotMatch
- `404` — Not Found i.e. No Such Bucket
- `409` — Bucket Not Empty

## Changes

> 33 revisions in range; 3 not diffed, 1 could not be searched.

- **2021-12-27** `b348fb4e977f` — 1 breaking
  - removed the media type `application/xml` for the response with the status `204`
- **2020-05-03** `f9da14548ae5` — 1 info
  - endpoint added
- **2018-10-29** `50fa096a3906` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/sodafoundation/apis/soda-multi-cloud-api/changes/:bucketName/delete.md)

---

[API](https://skmtc.dev/sodafoundation/apis/soda-multi-cloud-api.md) · [All operations](https://skmtc.dev/sodafoundation/apis/soda-multi-cloud-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/sodafoundation/soda-multi-cloud-api/revisions/df048c8349b6/schema)
