---
title: "Delete an object store bucket"
method: DELETE
path: "/storage/obj/{bucket}"
tags: ["Object Store"]
---

# Delete an object store bucket

`DELETE /storage/obj/{bucket}`

## Request

- Base URL: `https://api.quiva.ai`
- URL: `https://api.quiva.ai/storage/obj/{bucket}`
- Auth: one of:
  - HTTP bearer
  - API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/quivaworks/apis/quiva-ai-gateway-5/docs/storage/obj/:bucket/delete.ts> (a function with typed inputs; its response is checked against the schema)

Deletes an object store bucket and all its contents

## Path parameters

- `bucket` string, required

## Response `200`

Bad Request

- SuccessMessage
  - `message` string

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `404`: Not Found
- `500`: Internal Server Error

## Changes

- **2025-07-04** `d566a61279be`: 1 breaking, 4 info
  - added the new path request parameter `bucket`
  - api tag `Object Store` added
  - api tag `Object Store Buckets` removed
  - added the non-success response with the status `400`
  - …1 more
- **2025-06-13** `e4ad9e1ccd66`: 2 warning, 1 info
  - removed the optional property `bucket` from the response with the `200` status
  - removed the optional property `status` from the response with the `200` status
  - added the optional property `message` to the response with the `200` status

[Operation history](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway-5/changes/storage/obj/:bucket/delete.md)

---

[API](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway-5.md) - [All operations](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway-5/llms.txt) - [OpenAPI document](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway-5/revisions/104591eadd10?raw)
